<div class="form-group">
  {!! Form::label('title', __('bms::lang.task') . ':*') !!}
  {!! Form::text('title', null, ['class' => 'form-control', 'required']) !!}
</div>
<div class="row">
  <div class="col-md-6">
    <div class="form-group">
      {!! Form::label('department', __('bms::lang.department') . ':*') !!}
      {!! Form::select('department', $departments, null, ['class' => 'form-control', 'required']) !!}
    </div>
  </div>
  <div class="col-md-6">
    <div class="form-group">
      {!! Form::label('event_type', __('bms::lang.event_type') . ':') !!}
      {!! Form::text('event_type', null, ['class' => 'form-control', 'placeholder' => __('messages.all')]) !!}
    </div>
  </div>
</div>
<div class="row">
  <div class="col-md-4">
    <div class="form-group">
      {!! Form::label('offset_days', __('bms::lang.offset_days') . ':*') !!}
      {!! Form::number('offset_days', null, ['class' => 'form-control', 'required', 'min' => -365, 'max' => 365]) !!}
      <small class="text-muted">@lang('bms::lang.offset_days_help')</small>
    </div>
  </div>
  <div class="col-md-4">
    <div class="form-group">
      {!! Form::label('offset_hour', __('bms::lang.offset_hour') . ':') !!}
      {!! Form::number('offset_hour', null, ['class' => 'form-control', 'min' => 0, 'max' => 23, 'placeholder' => '9']) !!}
    </div>
  </div>
  <div class="col-md-4">
    <div class="form-group">
      {!! Form::label('assignee_role', __('bms::lang.assignee_role') . ':') !!}
      {!! Form::text('assignee_role', null, ['class' => 'form-control']) !!}
    </div>
  </div>
</div>
<div class="form-group">
  <label class="tw-font-normal">
    {!! Form::checkbox('is_active', 1, isset($template) ? null : true, ['class' => 'input-icheck']) !!}
    @lang('bms::lang.active')
  </label>
</div>
