<div class="modal-dialog" role="document">
  <div class="modal-content">
    {!! Form::open(['route' => ['bms.assets.relocate', $asset->id], 'method' => 'post', 'class' => 'bms-form']) !!}
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      <h4 class="modal-title">@lang('bms::lang.relocate') — {{ $asset->code }}</h4>
    </div>
    <div class="modal-body">
      <p class="text-muted">{{ $asset->name }}</p>
      <div class="form-group">
        {!! Form::label('hall_id', __('bms::lang.move_to_hall') . ':') !!}
        {!! Form::select('hall_id', $halls, $asset->hall_id, ['class' => 'form-control', 'placeholder' => __('bms::lang.no_hall_warehouse')]) !!}
        <span class="help-block">@lang('bms::lang.move_hall_hint')</span>
      </div>
      <div class="form-group">
        {!! Form::label('location_id', __('bms::lang.or_to_location') . ':') !!}
        {!! Form::select('location_id', $locations, $asset->location_id, ['class' => 'form-control', 'placeholder' => __('messages.please_select')]) !!}
      </div>
      <div class="form-group">
        {!! Form::label('condition', __('bms::lang.condition_on_arrival') . ':') !!}
        {!! Form::select('condition', $conditions, $asset->condition, ['class' => 'form-control']) !!}
      </div>
      <div class="form-group">
        {!! Form::label('notes', __('bms::lang.notes') . ':') !!}
        {!! Form::text('notes', null, ['class' => 'form-control']) !!}
      </div>
    </div>
    <div class="modal-footer">
      <button type="submit" class="tw-dw-btn tw-dw-btn-warning tw-text-white">@lang('bms::lang.relocate')</button>
      <button type="button" class="tw-dw-btn tw-dw-btn-neutral tw-text-white" data-dismiss="modal">@lang('messages.close')</button>
    </div>
    {!! Form::close() !!}
  </div>
</div>
