first commit
This commit is contained in:
		
							
								
								
									
										28
									
								
								resources/views/auth/roles/create.blade.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								resources/views/auth/roles/create.blade.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
@extends('layouts.admin')
 | 
			
		||||
 | 
			
		||||
@section('title', trans('general.title.new', ['type' => trans_choice('general.roles', 1)]))
 | 
			
		||||
 | 
			
		||||
@section('content')
 | 
			
		||||
    <!-- Default box -->
 | 
			
		||||
    <div class="box box-success">
 | 
			
		||||
        {!! Form::open(['url' => 'auth/roles', 'role' => 'form']) !!}
 | 
			
		||||
 | 
			
		||||
        <div class="box-body">
 | 
			
		||||
            {{ Form::textGroup('display_name', trans('general.name'), 'id-card-o') }}
 | 
			
		||||
 | 
			
		||||
            {{ Form::textGroup('name', trans('general.code'), 'code') }}
 | 
			
		||||
 | 
			
		||||
            {{ Form::textareaGroup('description', trans('general.description')) }}
 | 
			
		||||
 | 
			
		||||
            {{ Form::checkboxGroup('permissions', trans_choice('general.permissions', 2), $permissions, 'display_name') }}
 | 
			
		||||
        </div>
 | 
			
		||||
        <!-- /.box-body -->
 | 
			
		||||
 | 
			
		||||
        <div class="box-footer">
 | 
			
		||||
            {{ Form::saveButtons('auth/roles') }}
 | 
			
		||||
        </div>
 | 
			
		||||
        <!-- /.box-footer -->
 | 
			
		||||
 | 
			
		||||
        {!! Form::close() !!}
 | 
			
		||||
    </div>
 | 
			
		||||
@endsection
 | 
			
		||||
		Reference in New Issue
	
	Block a user