@extends('layouts.main') @section('content') {!! Form::model($usergroup, ['url' => 'user_groups/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 {{ $data['page'] }} | {{ $option }} {!! Form::hidden('id', $id) !!} User Group Name: * {!! Form::text('ug_name', null, ['class' => 'form-control input-sm align-form', 'data-validation' => 'required', 'data-validation-error-msg-container' => '#ug_name', $option == 'View' ? 'readonly' : '']) !!} {{ $errors->first('ug_name') }} {!! Form::button(' Save', ['class' => 'btn btn-primary btn-sm', 'type' => 'submit']) !!} Cancel User Group Rights Category View Add Edit Delete @foreach($rights as $right) {{ $right->urights->ur_name }} ugr_view == 1) checked="checked" @endif disabled> ugr_add == 1) checked="checked" @endif disabled> ugr_edit == 1) checked="checked" @endif disabled> ugr_delete == 1) checked="checked" @endif disabled> @endforeach × Edit View Add Edit Delete {!! Form::button(' Update', ['class' => 'btn btn-primary btn-sm', 'type' => 'submit']) !!} {!! Form::close() !!} {!! Form::open(['url'=>'incoming/update_comment', 'class'=>'form']) !!} {!! Form::close() !!} @stop