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

{{ $error }}

@endforeach
{!! Form::open(array('url' => ('admin/winpoint/store'),'method'=>'post', 'files'=>true)) !!}
{!! Form::label('brand', 'Brand *') !!} {!! Form::select('bike_id', [null=>''] + $bikes, $data->bike_id,['class' => 'form-control brand']) !!}

{!! Form::label('title', 'Title') !!}

{!! Form::label('image', 'Challenge Image') !!}

{!! Form::label('image', 'Image') !!}

{!! Form::text('x_cordinate',$data->x_cordinate, array('class' => 'form-control x_cordinate','readonly')) !!}
{!! Form::text('y_cordinate', $data->y_cordinate, array('class' => 'form-control y_cordinate','readonly')) !!}

@if ($data->status == 1) {!! Form::radio('status', '1',['checked' => 'checked'],['class' => 'minimal']) !!} Active {!! Form::radio('status', '0','',['class' => 'minimal']) !!} InActive @else {!! Form::radio('status', '1','',['class' => 'minimal']) !!} Active {!! Form::radio('status', '0',['checked' => 'checked'],['class' => 'minimal']) !!} InActive @endif
{!! Form::close() !!}
@push('scripts')