Blame view

resources/views/auth/roles/create.blade.php 895 Bytes
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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