@extends('layouts.main') @section('content') @if($option == "View") @endif {!! Form::model($type, ['url' => 'document_types/save', 'class' => 'form-horizontal', 'autocomplete' => 'off', 'id' => 'groupForm']) !!} @if(Session::has('unauthorize')) × {{ Session::get('unauthorize') }} @endif @if(Session::has('update')) × {{ Session::get('update') }} @endif @if(Session::has('success')) × {{ Session::get('success') }} @endif Document Types | {{ $option }} Document Type Details {!! Form::hidden('id', $id) !!} Document Type: * {!! Form::text('dt_type', null, ['class' => 'form-control input-sm align-form', 'data-validation' => 'required', 'data-validation-error-msg-container' => '#dt_type', $option == 'View' ? 'readonly' : '']) !!} {{ $errors->first('dt_type') }} {!! Form::button(' Save', ['class' => 'btn btn-primary btn-sm', 'type' => 'submit']) !!} Cancel {!! Form::close() !!} @stop