@extends('layout.master') @section('content') @include('layout.errorform') @include('layout.info')
Add User Group
{!! Form::open(['route' => 'usergroup.store', 'class' => 'form-horizontal']) !!}
{!! Form::label('ug', 'User Group :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'group', @$value, ['class' => 'form-control', 'placeholder' => 'User Group', 'id' => 'ug']) !!}
{!! Form::submit('Save', ['class' => 'btn btn-primary btn-lg btn-block']) !!}
{!! Form::close() !!}
User Groups List
@if( count($ug) > 0 ) @foreach ($ug as $k) @endforeach
id group
id group
{!! $k->id !!} {!! $k->group !!}
@else @endif
@endsection @section('jquery') $("input").keyup(function() { toUpper(this); }); @endsection