@extends('layout.master') @section('content') @include('layout.errorform') @include('layout.info') {!! Form::open(['route' => 'user.store', 'class' => 'form-horizontal', 'id' => 'form']) !!}
Add User
{!! Form::label('nam', 'Name :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'name', @$value, ['class' => 'form-control put', 'placeholder' => 'Name', 'id' => 'nam']) !!}
{!! Form::label('usernam', 'Username :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('username', @$value, ['class' => 'form-control put', 'placeholder' => 'Username', 'id' => 'usernam']) !!}
{!! Form::label('email', 'Email :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'email', @$value, ['class' => 'form-control', 'placeholder' => 'Email', 'id' => 'email']) !!}
{!! Form::label('pass', 'Password :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('password', 'password', @$value, ['class' => 'form-control', 'placeholder' => 'Password', 'id' => 'pass']) !!}
{!! Form::label('us', 'Password :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('password', 'password_confirmation', @$value, ['class' => 'form-control', 'placeholder' => 'Password Confirmation', 'id' => 'us']) !!}
{!! Form::label('ug', 'User Group :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('id_group', $lm, NULL,['class' => 'form-control', 'id' => 'ug', 'placeholder' => 'Choose User Group']) !!}
{!! Form::label('rgba', 'Choose Your Color :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('color', @$value, ['class' => 'form-control ', 'id' => 'rgba' ]) !!}
{!! Form::submit('Save', ['class' => 'btn btn-primary btn-lg btn-block']) !!}
{!! Form::close() !!}
Users List
@if( count($us) > 0 ) @foreach ($us as $k)
name username email group action
{!! $k->name !!} {!! $k->username !!} {!! $k->email !!}