@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('Bike Add') }} @endsection @section('contentheader_title') {{ trans('Bike Add') }} @endsection @section('main-content')
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
{!! Form::open(array('url' => ('admin/bike/store'),'method'=>'POST', 'files'=>true)) !!}
{!! Form::label('brand', 'Brand *') !!} {!! Form::select('brand_id', [null=>''] + $brands, null,['class' => 'form-control brand']) !!}
{!! Form::label('name', 'Name *') !!} {!! Form::text('name', null, array('class' => 'form-control','placeholder'=>'Enter name','id'=>'name')) !!}

{!! Form::label('review', 'Review *') !!} {!! Form::textarea('review',null,['class'=>'form-control review', 'rows' => 6, 'cols' => 40,'placeholder'=>'Enter review']) !!}
{!! Form::label('suspension', 'Suspension *') !!} {!! Form::textarea('suspension',null,['class'=>'form-control suspension', 'rows' => 3, 'cols' => 40,'placeholder'=>'Enter suspension']) !!}
{!! Form::label('tyres', 'Tyres *') !!} {!! Form::textarea('tyres',null,['class'=>'form-control tyres', 'rows' => 3, 'cols' => 40,'placeholder'=>'Enter tyres']) !!}
{!! Form::label('brakes', 'Brakes *') !!} {!! Form::textarea('brakes',null,['class'=>'form-control brakes', 'rows' => 3, 'cols' => 40,'placeholder'=>'Enter brakes']) !!}
{!! Form::label('dimensions', 'Dimensions *') !!} {!! Form::textarea('dimensions',null,['class'=>'form-control dimensions', 'rows' => 3, 'cols' => 40,'placeholder'=>'Enter dimensions']) !!}
{!! Form::label('fuel_tank', 'Fuel Tank *') !!} {!! Form::text('fuel_tank', null, array('class' => 'form-control','placeholder'=>'Enter fuel tank','id'=>'fuel_tank')) !!}
{!! Form::label('engine', 'Engine Details *') !!} {!! Form::textarea('engine',null,['class'=>'form-control engine', 'rows' => 3, 'cols' => 40,'placeholder'=>'Enter engine']) !!}
{!! Form::label('engine_type', 'Engine Type *') !!} {!! Form::text('engine_type',null,['class'=>'form-control engine_type','placeholder'=>'Enter engine type']) !!}
{!! Form::label('displacement', 'Displacement *') !!} {!! Form::text('displacement', null, array('class' => 'form-control','placeholder'=>'Enter displacement','id'=>'displacement')) !!}
{!! Form::label('bore_stroke', 'Bore & Stroke *') !!} {!! Form::text('bore_stroke', null, array('class' => 'form-control','placeholder'=>'Enter bore stroke','id'=>'bore_stroke')) !!}
{!! Form::label('power', 'Maximum Power (PS/RPM) *') !!} {!! Form::text('power', null, array('class' => 'form-control','placeholder'=>'Enter Maximum Power (PS/RPM)','id'=>'power')) !!}
{!! Form::label('torque', 'Maximum Torque (NM/RPM) *') !!} {!! Form::text('torque', null, array('class' => 'form-control','placeholder'=>'Enter Maximum Torque (NM/RPM)','id'=>'torque')) !!}
{!! Form::label('gearbox', 'Gearbox *') !!} {!! Form::text('gearbox', null, array('class' => 'form-control','placeholder'=>'Enter gearbox','id'=>'gearbox')) !!}
{!! Form::label('final_drive', 'Final Drive *') !!} {!! Form::text('final_drive', null, array('class' => 'form-control','placeholder'=>'Enter final drive','id'=>'final_drive')) !!}
{!! Form::label('ticket_price', 'Ticket price *') !!} {!! Form::text('ticket_price', null, array('class' => 'form-control','placeholder'=>'Enter ticket price','id'=>'ticket_price')) !!}

{!! Form::label('title', 'Features Title') !!} {!! Form::text('title[]', null, array('class' => 'form-control','placeholder'=>'Enter title','id'=>'title')) !!}
{!! Form::label('features_image', 'Features Image') !!}
{!! Form::label('details', 'Features Details') !!} {!! Form::textarea('details[]',null,['class'=>'form-control details', 'rows' => 7, 'cols' => 40,'placeholder'=>'Enter details', 'id' => 'details']) !!}
{!! Form::label('image', 'Main Image *') !!}

{!! Form::label('bike_image', 'Slider Images *') !!}
{!! Form::label('status', 'Status') !!} {!! Form::radio('status', '1',true,['class' => 'minimal']) !!} Active   {!! Form::radio('status', '0','',['class' => 'minimal']) !!} InActive  
{!! Form::close() !!}
@include('adminlte::layouts.bike.validation') @endsection @push('scripts') @endpush