1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 15:42:51 +01:00
invoiceninja/resources/views/proposals/categories/edit.blade.php

50 lines
1.1 KiB
PHP
Raw Normal View History

2018-01-31 12:51:18 +01:00
@extends('header')
@section('content')
2018-01-31 13:21:33 +01:00
{!! Former::open($url)
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit')
->method($method)
->rules([
'name' => 'required',
]) !!}
@if ($category)
{!! Former::populate($category) !!}
@endif
<span style="display:none">
{!! Former::text('public_id') !!}
</span>
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
<div class="panel panel-default">
<div class="panel-body">
{!! Former::text('name') !!}
</div>
</div>
</div>
</div>
<center class="buttons">
2018-02-04 17:47:55 +01:00
{!! Button::normal(trans('texts.cancel'))->large()->asLinkTo(HTMLUtils::previousUrl('/proposals/categories'))->appendIcon(Icon::create('remove-circle')) !!}
2018-01-31 13:21:33 +01:00
{!! Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!}
</center>
{!! Former::close() !!}
<script>
$(function() {
$('#name').focus();
});
</script>
2018-01-31 12:51:18 +01:00
@stop