@extends('dashboard::master') {{-- Autor: Giovanni López O. @gmlo_89 --}} @section('head') @stop @section('content')

{{ $title }}

{{ Alert::render() }}
@if(!isset($myProfile))
{{ trans('dashboard::label.go_back') }}
@endif
{{ Form::model($group, $formOptions) }}
{{ trans('usergroups::label.user_group_info') }}
{{ Form::text('name', null, array( "class" => "form-control required", "id" => "inputName", "placeholder" => trans('usergroups::label.name') )) }}
@if($group->exists)
@endif
{{ trans('usergroups::label.permissions') }}
@foreach ($modules as $module)
{{ $module->title }} @foreach ($module->actions as $key => $value)
{{ Form::checkbox( $module_name, 1, Session::has($module_name)?Session::get($module_name):null, array( 'data-toggle' => 'checkbox', 'data-on-text' => trans('dashboard::label.yes'), 'data-off-text' => trans('dashboard::label.no'), 'data-size' => 'normal', 'data-on-color' => 'success', 'data-off-color' => 'danger' )); }}
@endforeach
@endforeach
@stop @section('scripts') {{ JavaScript::makeVar('msg_confirm_delete', trans('usergroups::message.confirm_delete_usergroup')) }} @stop