@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) !!}
{!! 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

@foreach($rights as $right) @endforeach
Category View Add Edit Delete
{{ $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>
{!! Form::close() !!} {!! Form::open(['url'=>'incoming/update_comment', 'class'=>'form']) !!} {!! Form::close() !!} @stop