@extends('layouts/default') {{-- Web site Title --}} @section('title') @lang('roles/title.edit') @parent @stop {{-- Content --}} @section('content') @lang('roles/title.edit') @lang('general.dashboard') @lang('roles/title.roles') @lang('roles/title.edit') @lang('roles/title.edit') @if($role) {!! Form::model($role, ['url' => URL::to('roles/'. $role->id), 'method' => 'put', 'class' => 'form-horizontal']) !!} {{ csrf_field() }} @lang('roles/form.name') {!! $errors->first('name', ':message') !!} @lang('roles/form.slug') @lang('button.cancel') @lang('button.save') @else @lang('roles/message.error.no_role_exists') @lang('button.back') @endif @stop