mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix issue saving after clicking back
This commit is contained in:
parent
8a874ba602
commit
7f5804c739
@ -5,6 +5,7 @@
|
||||
|
||||
{!! Former::open($url)
|
||||
->method($method)
|
||||
->autocomplete('off')
|
||||
->rules(['product_key' => 'required|max:255'])
|
||||
->addClass('col-lg-10 col-lg-offset-1 main-form warn-on-exit') !!}
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
<div class="pull-right">
|
||||
{!! Former::open('clients/bulk')->addClass('mainForm') !!}
|
||||
{!! Former::open('clients/bulk')->autocomplete('off')->addClass('mainForm') !!}
|
||||
<div style="display:none">
|
||||
{!! Former::text('action') !!}
|
||||
{!! Former::text('public_id')->value($client->public_id) !!}
|
||||
|
@ -17,6 +17,7 @@
|
||||
{!! Former::open($url)
|
||||
->addClass('warn-on-exit main-form')
|
||||
->onsubmit('return onFormSubmit(event)')
|
||||
->autocomplete('off')
|
||||
->method($method) !!}
|
||||
<div style="display:none">
|
||||
{!! Former::text('action') !!}
|
||||
|
@ -18,6 +18,7 @@
|
||||
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit main-form')
|
||||
->onsubmit('return onFormSubmit(event)')
|
||||
->method($method)
|
||||
->autocomplete('off')
|
||||
->rules(array(
|
||||
'client' => 'required',
|
||||
'invoice' => 'required',
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
{!! Former::open($url)
|
||||
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit main-form')
|
||||
->autocomplete('off')
|
||||
->method($method)
|
||||
->rules([
|
||||
'name' => 'required',
|
||||
|
@ -21,7 +21,7 @@
|
||||
<div class="col-md-5">
|
||||
<div class="pull-right">
|
||||
|
||||
{!! Former::open('projects/bulk')->addClass('mainForm') !!}
|
||||
{!! Former::open('projects/bulk')->autocomplete('off')->addClass('mainForm') !!}
|
||||
<div style="display:none">
|
||||
{!! Former::text('action') !!}
|
||||
{!! Former::text('public_id')->value($project->public_id) !!}
|
||||
|
@ -14,6 +14,7 @@
|
||||
->method($method)
|
||||
->onsubmit('return onFormSubmit(event)')
|
||||
->id('mainForm')
|
||||
->autocomplete('off')
|
||||
->addClass('warn-on-exit')
|
||||
->rules([
|
||||
'invoice_id' => 'required',
|
||||
|
@ -25,6 +25,7 @@
|
||||
{!! Former::open($url)
|
||||
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit task-form')
|
||||
->onsubmit('return onFormSubmit(event)')
|
||||
->autocomplete('off')
|
||||
->method($method) !!}
|
||||
|
||||
@if ($task)
|
||||
|
@ -4,7 +4,7 @@
|
||||
@parent
|
||||
@include('accounts.nav', ['selected' => ACCOUNT_USER_MANAGEMENT])
|
||||
|
||||
{!! Former::open($url)->method($method)->addClass('warn-on-exit user-form')->rules(array(
|
||||
{!! Former::open($url)->autocomplete('off')->method($method)->addClass('warn-on-exit user-form')->rules(array(
|
||||
'first_name' => 'required',
|
||||
'last_name' => 'required',
|
||||
'email' => 'required|email',
|
||||
|
2
resources/views/vendors/show.blade.php
vendored
2
resources/views/vendors/show.blade.php
vendored
@ -34,7 +34,7 @@
|
||||
<div class="col-md-5">
|
||||
<div class="pull-right">
|
||||
|
||||
{!! Former::open('vendors/bulk')->addClass('mainForm') !!}
|
||||
{!! Former::open('vendors/bulk')->autocomplete('off')->addClass('mainForm') !!}
|
||||
<div style="display:none">
|
||||
{!! Former::text('action') !!}
|
||||
{!! Former::text('public_id')->value($vendor->public_id) !!}
|
||||
|
Loading…
x
Reference in New Issue
Block a user