<div class="row">
  <div class="col-md-4 form-group {{ ($errors->first('name')) ? "has-error" : ""}}">
    {{ Form::label('name',Trans('dashboard.branches.branch')) }}
    {{ Form::text('name', null, [
      'class' => 'form-control',
      'placeholder' => Trans('dashboard.branches.branch'),
      'required'    => 'required'
    ]) }}
    @if($errors->first('name'))
      <span class="help-block">{{$errors->first('name')}}</span>
    @endif
  </div>
  <div class="col-md-4 form-group">
    {{ Form::label('tel',Trans('users.tel')) }}
    {{ Form::text('tel', null, [
      'class' => 'form-control',
      'placeholder' => Trans('users.tel'),
      'required' => "required"
    ]) }}
  </div>
  <div class="col-md-4 form-group">
    {{ Form::label('lat_long',Trans('dashboard.branches.latitude')." ".Trans('dashboard.branches.longtitude')) }}
    {{ Form::text('lat_long', null, [
      'class' => 'form-control',
      'placeholder' => Trans('dashboard.branches.latitude')." ".Trans('dashboard.branches.longtitude'),

    ]) }}
  </div>
</div>
<div class="row">
  <div class="col-md-6 form-group">
    {{ Form::label('description',Trans('item_locations.description')) }}
    {{ Form::textarea('description', null,
      [
        'class' => "form-control",
        'placeholder' => Trans('item_locations.description'),
        'rows' => "3"
      ]
    )}}
  </div>
  <div class="col-md-6 form-group">
    {{ Form::label('location',Trans('dashboard.branches.location')) }}
    {{ Form::textarea('location', null,
      [
        'class' => "form-control",
        'placeholder' => Trans('dashboard.branches.location'),
        'rows' => "3"
      ]
    )}}
  </div>
</div>
<div class="row pull-right">
  <div class="col-md-12 form-group">
      <button type="submit" name="submit" class="btn btn-primary">{{ (isset($branch)) ? Trans('dashboard.crud.update') : Trans('dashboard.crud.add') }}</button>
      <button type="reset" name="button" class="btn btn-default">{{ Trans('dashboard.crud.reset')}}</button>
  </div>
</div>
