@extends('admin.layouts.master') @section('content')

{{ trans('quickadmin::templates.templates-view_edit-edit') }}

@if ($errors->any())
    {!! implode('', $errors->all('
  • :message
  • ')) !!}
@endif
{!! Form::model($saloon, array('files' => true, 'class' => 'form-horizontal', 'id' => 'form-with-validation', 'method' => 'PATCH', 'route' => array(config('quickadmin.route').'.saloon.update', $saloon->id))) !!}
{!! Form::label('city_id', 'City', array('class'=>'col-sm-2 control-label')) !!}

Company

{!! Form::label('name', 'name*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('name', old('name',$saloon->name), array('class'=>'form-control')) !!}

name

{!! Form::label('city', 'city', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('city', old('city',$saloon->city), array('class'=>'form-control')) !!}

city

{!! Form::label('postcode', 'postcode', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('postcode', old('postcode',$saloon->postcode), array('class'=>'form-control')) !!}

postcode

{!! Form::label('address', 'address', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('address', old('address',$saloon->address), array('class'=>'form-control')) !!}

address

{!! Form::label('phone', 'phone', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('phone', old('phone',$saloon->phone), array('class'=>'form-control')) !!}

phone

{!! Form::label('body', 'body', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::textarea('body', old('body',$saloon->body), array('class'=>'form-control')) !!}

body

{!! Form::label('hours', 'hours', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::textarea('hours', old('hours',$saloon->hours), array('class'=>'form-control')) !!}

hours

{!! Form::label('picture', 'picture', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::file('picture') !!} {!! Form::hidden('picture_w', 4096) !!} {!! Form::hidden('picture_h', 4096) !!}

picture

{!! Form::label('company_id', 'Company', array('class'=>'col-sm-2 control-label')) !!}

Company

{!! Form::label('showhide', 'showhide', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::select('showhide', $showhide, old('showhide',$saloon->showhide), array('class'=>'form-control')) !!}

showhide

{!! Form::label('manager_id', 'manager_id', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('manager_id', old('manager_id',$saloon->manager_id), array('class'=>'form-control')) !!}

tabl

{!! Form::submit(trans('quickadmin::templates.templates-view_edit-update'), array('class' => 'btn btn-primary')) !!} {!! link_to_route(config('quickadmin.route').'.saloon.index', trans('quickadmin::templates.templates-view_edit-cancel'), null, array('class' => 'btn btn-default')) !!}
{!! Form::close() !!} @endsection