@extends ('backend.layouts.app') @section ('title', trans('labels.backend.notations.management') . ' | ' . trans('labels.backend.notations.edit')) @section('page-header')

{{ trans('labels.backend.notations.management') }} {{ trans('labels.backend.notations.edit') }}

@endsection @section('content') {{ Form::model($notation, ['route' => ['admin.notations.update', $notation], 'class' => 'form-horizontal', 'notation' => 'form', 'method' => 'PATCH', 'id' => 'edit-notation']) }}

{{ trans('labels.backend.notations.edit') }}

@include('backend.notations.includes.partials.notation-header-buttons')
{{-- User Id --}}
{{ Form::label('user_id', trans('validation.attributes.backend.notations.user_id'), ['class' => 'col-lg-2 control-label']) }}
{{ Form::select('user_id', $users, null, ['class' => 'form-control']) }}
{{-- Accepted --}}
{{ Form::label('accepted', trans('validation.attributes.backend.notations.accepted'), ['class' => 'col-lg-2 control-label']) }}
{{ Form::checkbox('accepted') }}
{{-- Name --}}
{{ Form::label('name', trans('validation.attributes.backend.notations.name'), ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('name', null, ['class' => 'form-control', 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => trans('validation.attributes.backend.notations.name')]) }}
{{-- Description --}}
{{ Form::label('description', trans('validation.attributes.backend.notations.description'), ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea ('description', null, ['class' => 'form-control', 'placeholder' => trans('validation.attributes.backend.notations.description')]) }}
{{-- GeoJson --}}
{{ Form::label('geojson', trans('validation.attributes.backend.notations.geojson'), ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea ('geojson', null, ['class' => 'form-control', 'placeholder' => trans('validation.attributes.backend.notations.geojson')]) }}
{{-- Meta --}}
{{ Form::label('meta', trans('validation.attributes.backend.notations.meta'), ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea ('meta', null, ['class' => 'form-control', 'placeholder' => trans('validation.attributes.backend.notations.meta')]) }}
{{ link_to_route('admin.notations.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-xs']) }}
{{ Form::submit(trans('buttons.general.crud.update'), ['class' => 'btn btn-success btn-xs']) }}
{{ Form::close() }} @endsection