2015-03-16 22:45:25 +01:00
|
|
|
@extends('accounts.nav')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
@parent
|
|
|
|
@include('accounts.nav_advanced')
|
|
|
|
|
2015-04-01 21:57:02 +02:00
|
|
|
{!! Former::open($url)->method($method)->addClass('col-md-8 col-md-offset-2 warn-on-exit')->rules(array(
|
2015-03-16 22:45:25 +01:00
|
|
|
'name' => 'required',
|
2015-04-01 21:57:02 +02:00
|
|
|
)); !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2015-04-20 16:34:23 +02:00
|
|
|
<div class="panel panel-default">
|
2015-04-22 21:21:04 +02:00
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">{!! trans($title) !!}</h3>
|
|
|
|
</div>
|
2015-04-20 16:34:23 +02:00
|
|
|
<div class="panel-body">
|
2015-03-16 22:45:25 +01:00
|
|
|
|
|
|
|
@if ($token)
|
2015-04-01 21:57:02 +02:00
|
|
|
{!! Former::populate($token) !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
@endif
|
|
|
|
|
2015-04-01 21:57:02 +02:00
|
|
|
{!! Former::text('name') !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2015-04-20 16:34:23 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2015-04-01 21:57:02 +02:00
|
|
|
{!! Former::actions(
|
|
|
|
Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')),
|
2015-04-27 14:28:40 +02:00
|
|
|
Button::normal(trans('texts.cancel'))->asLinkTo('/company/advanced_settings/token_management')->appendIcon(Icon::create('remove-circle'))->large()
|
2015-04-01 21:57:02 +02:00
|
|
|
) !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2015-04-01 21:57:02 +02:00
|
|
|
{!! Former::close() !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
|
|
|
|
@stop
|