<div class="modal-dialog" role="document">
  <div class="modal-content">
    {!! Form::model($template, ['route' => ['bms.task-templates.update', $template->id], 'method' => 'PUT', '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('messages.edit') — @lang('bms::lang.task')</h4>
    </div>
    <div class="modal-body">@include('bms::task_templates._fields')</div>
    <div class="modal-footer">
      <button type="submit" class="tw-dw-btn tw-dw-btn-primary tw-text-white">@lang('messages.update')</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>
