@extends('layouts.app') @section('content')

All Users

{{ all_errors($errors) }} @include('layouts.flash') {{ Form::open(array('url' => 'user/update-role/'.$role->id, 'method' => 'patch', 'class' => 'form-horizontal')) }}
{{ Form::label('name', 'Name *', ['class' => 'col-md-4 control-label']) }}
{{ Form:: text('name', $role->name, ['class' => 'form-control']) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label('display_name', 'Display Name *', ['class' => 'col-md-4 control-label']) }}
{{ Form:: text('display_name', $role->display_name, ['class' => 'form-control']) }} @if ($errors->has('display_name')) {{ $errors->first('display_name') }} @endif
{{ Form::label('description', 'Description', ['class' => 'col-md-4 control-label']) }}
{{ Form:: textarea('description', $role->description, ['class' => 'form-control']) }} @if ($errors->has('description')) {{ $errors->first('description') }} @endif
{{ Form::button(' Update Role', ['type' => 'submit', 'class' => 'btn btn-primary']) }}
{{ Form::close() }}
@endsection