@extends('layouts.cms') @section('content') {{ Form::open(array('url' => 'admin/user/add', 'role' => 'form', 'class' => 'form-horizontal validate', 'name' => 'user-form')) }} @include('admin.partials.button')

 

{{ Form::text('email', @$user->email, array('class' => Config::get('custom.form.input-class'), 'id' => 'email', 'validate_rules' => 'required|valid_email|callback_check_email', 'alt' => strtolower(Lang::get('cms.email')))) }}
{{ Form::text('firstname', @$user->first_name, array('class' => Config::get('custom.form.input-class'), 'id' => 'firstname')) }}
{{ Form::text('lastname', @$user->last_name, array('class' => Config::get('custom.form.input-class'), 'id' => 'lastname')) }}
activated) && $user->activated) checked="chedked" @endif>
@if (isset($user) && $user->id > 0)
@endif
{{ Form::password('password', array('class' => Config::get('custom.form.input-class'), 'id' => 'password', 'validate_rules' => '!callback_check_password|!callback_check_password_match', 'alt' => 'pass')) }}
{{ Form::password('password_2', array('class' => Config::get('custom.form.input-class'), 'id' => 'password_2')) }}
@foreach ($groups as $group)
@endforeach
@if(!isset($user))
@endif
{{ Form::hidden('id', @$user->id) }} @include('admin.partials.button') {{ Form::close() }} @stop