1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/resources/views/accounts/token.blade.php
Hillel Coren b80842759e Bug fixes
2015-06-04 23:53:58 +03:00

37 lines
887 B
PHP

@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',
)); !!}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans($title) !!}</h3>
</div>
<div class="panel-body">
@if ($token)
{!! Former::populate($token) !!}
@endif
{!! Former::text('name') !!}
</div>
</div>
{!! Former::actions(
Button::normal(trans('texts.cancel'))->asLinkTo(URL::to('/company/advanced_settings/token_management'))->appendIcon(Icon::create('remove-circle'))->large(),
Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk'))
) !!}
{!! Former::close() !!}
@stop
@section('onReady')
$('#name').focus();
@stop