@extends('umrah.layouts.admin') @section('content') {!! Form::model($model, ['class'=>'form-horizontal']) !!} @include('_version_02.umrah.layouts.partials._alert')

{{App\Language::trans('Detail Form')}}

{!! Form::label('category_id', App\Language::trans('Category'), ['class'=>'control-label col-md-4']) !!}
{!! Form::select('category_id', App\ToDoListCategory::combobox(), null, ['class'=>'form-control','autofocus','required']) !!} {!!$errors->first('category_id', '')!!}
{!! Form::label('name', App\Language::trans('Name'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('name', null, ['class'=>'form-control','required']) !!} {!!$errors->first('name', '')!!}
{!! Form::label('date', App\Language::trans('Date'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('date', null, ['class'=>'form-control','id'=>'date']) !!} {!!$errors->first('date', '')!!}
{!! Form::label('time', App\Language::trans('Time'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('time', null, ['class'=>'form-control','id'=>'time']) !!} {!!$errors->first('time', '')!!}
{!! Form::label('description', App\Language::trans('Description'), ['class'=>'control-label col-md-2']) !!}
{!! Form::textarea('description', null, ['rows'=>5,'class'=>'form-control','required']) !!} {!!$errors->first('description', '')!!}
{!! Form::label('status', App\Language::trans('Status'), ['class'=>'control-label col-md-4']) !!}
{!!$errors->first('status', '')!!}
{!! Form::close() !!} @endsection @section('script') $(document).ready(function(){ $("input[name*=date]").inputmask("99-99-9999"); $("input[name*=time]").inputmask("99:99"); }); @endsection