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

{!!trans('english.ROLE_MANAGEMENT')!!}

{!!trans('english.UPDATE_ROLE')!!}
{!! Form::model($target, array('route' => array('role.update', $target->id), 'method' => 'PUT', 'class' => 'form-horizontal', 'id' => 'userId')) !!}
{!! Form::text('name', old('name'), array('id'=> 'name', 'class' => 'form-control', 'required' => 'true')) !!} {!! $errors->first('name') !!}
{!! Form::textarea('info', old('info'), array('id'=> 'info', 'rows' => '3', 'class' => 'form-control')) !!}
{!! Form::number('priority', old('priority'), array('id'=> 'name', 'class' => 'form-control', 'required' => 'true','min'=>1)) !!}
{!! Form::select('status_id', array('1' => 'Active', '2' => 'Inactive'), old('status_id'), array('class' => 'selectpicker form-control', 'id' => 'status-id')) !!}
{!! Form::close() !!}
@stop