@extends('accounts.nav')
@section('content')
@parent
@include('accounts.nav_advanced')
{!! Former::open($url)->method($method)->addClass('col-md-8 col-md-offset-2 warn-on-exit')->rules(array(
'name' => 'required',
)); !!}
{!! trans($title) !!}
@if ($token)
{!! Former::populate($token) !!}
@endif
{!! Former::text('name') !!}
{!! Former::actions(
Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')),
Button::normal(trans('texts.cancel'))->asLinkTo(URL::to('/company/advanced_settings/token_management'))->appendIcon(Icon::create('remove-circle'))->large()
) !!}
{!! Former::close() !!}
@stop
@section('onReady')
$('#name').focus();
@stop