{!! Form::model(new App\ComplaintModel, ['route' => ['complaints.store'], 'class'=>'', 'role' => 'form', 'enctype' => 'multipart/form-data']) !!}
{!! Form::text('title', NULL, array('id' => 'complaint-title', 'class' => 'mdl-textfield__input mdl-color-text--white')) !!} {!! Form::label('title', 'Title', array('class' => 'mdl-textfield__label mdl-color-text--white')); !!} Title is required
{!! Form::select('source', array( 'whatsapp' => 'Whatsapp', 'other' => 'Other'), NULL, array('class' => 'mdl-selectfield__select mdl-textfield__input ', 'id' => 'status')) !!} {!! Form::label('source', 'Complaint Source', array('class' => 'mdl-textfield__label mdl-selectfield__label mdl-color-text--primary')); !!}
{!! Form::textarea('description', NULL, array('id' => 'complaint-description', 'class' => 'mdl-textfield__input mdl-color-text--white')) !!} {!! Form::label('description', 'Description', array('class' => 'mdl-textfield__label mdl-color-text--white')); !!}
{!! Form::text('address', NULL, array('id' => 'complaint-address', 'class' => 'mdl-textfield__input mdl-color-text--white')) !!} {!! Form::label('address', 'Address', array('class' => 'mdl-textfield__label mdl-color-text--white')); !!} Address is required
{!! Form::text('phone', NULL, array('id' => 'complaint-phone', 'class' => 'mdl-textfield__input mdl-color-text--white')) !!} {!! Form::label('phone', 'User Phone', array('class' => 'mdl-textfield__label mdl-color-text--white')); !!} User ID is required
{!! Form::select('complaint_status', array( 'open' => 'Open', 'pending' => 'Pending', 'resolved' => 'Resolved', 'closed' => 'Closed'), NULL, array('class' => 'mdl-selectfield__select mdl-textfield__input ', 'id' => 'status')) !!} {!! Form::label('completed', 'Task Status', array('class' => 'mdl-textfield__label mdl-selectfield__label mdl-color-text--primary')); !!}
{!! Form::select('assign', array( 'admin' => 'Admin', 'engineer' => 'Engineer', 'technician' => 'Technician'), NULL, array('class' => 'mdl-selectfield__select mdl-textfield__input', 'id' => 'assign')) !!} {!! Form::label('assign', 'Assign', array('class' => 'mdl-textfield__label mdl-selectfield__label mdl-color-text--primary')); !!}
{!! Form::file('image', array('class' => 'image')) !!}
{!! Form::file('image1', array('class' => 'image')) !!}
{!! Form::file('image2', array('class' => 'image')) !!}
{!! Form::file('image3', array('class' => 'image')) !!}
{!! Form::file('image4', array('class' => 'image')) !!}
{!! Form::file('image5', array('class' => 'image')) !!}
{!! Form::button('Create Complaint', array('class' => 'dialog-button-save mdl-button mdl-js-button mdl-js-ripple-effect mdl-color--primary mdl-color-text--white mdl-button--raised margin-bottom-1 margin-top-1 margin-top-0-desktop margin-right-1 padding-left-1 padding-right-1 ')) !!}
{!! Form::button('save', array('class' => 'dialog-button-icon-save mdl-button mdl-button--icon mdl-js-button mdl-js-ripple-effect mdl-button-colored', 'title' => 'Update Complaint')) !!}
@include('dialogs.dialog-save') {!! Form::close() !!}