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)
|
{!! Former::open($url)
|
||||||
->method($method)
|
->method($method)
|
||||||
|
->autocomplete('off')
|
||||||
->rules(['product_key' => 'required|max:255'])
|
->rules(['product_key' => 'required|max:255'])
|
||||||
->addClass('col-lg-10 col-lg-offset-1 main-form warn-on-exit') !!}
|
->addClass('col-lg-10 col-lg-offset-1 main-form warn-on-exit') !!}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
{!! Former::open('clients/bulk')->addClass('mainForm') !!}
|
{!! Former::open('clients/bulk')->autocomplete('off')->addClass('mainForm') !!}
|
||||||
<div style="display:none">
|
<div style="display:none">
|
||||||
{!! Former::text('action') !!}
|
{!! Former::text('action') !!}
|
||||||
{!! Former::text('public_id')->value($client->public_id) !!}
|
{!! Former::text('public_id')->value($client->public_id) !!}
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
{!! Former::open($url)
|
{!! Former::open($url)
|
||||||
->addClass('warn-on-exit main-form')
|
->addClass('warn-on-exit main-form')
|
||||||
->onsubmit('return onFormSubmit(event)')
|
->onsubmit('return onFormSubmit(event)')
|
||||||
|
->autocomplete('off')
|
||||||
->method($method) !!}
|
->method($method) !!}
|
||||||
<div style="display:none">
|
<div style="display:none">
|
||||||
{!! Former::text('action') !!}
|
{!! Former::text('action') !!}
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit main-form')
|
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit main-form')
|
||||||
->onsubmit('return onFormSubmit(event)')
|
->onsubmit('return onFormSubmit(event)')
|
||||||
->method($method)
|
->method($method)
|
||||||
|
->autocomplete('off')
|
||||||
->rules(array(
|
->rules(array(
|
||||||
'client' => 'required',
|
'client' => 'required',
|
||||||
'invoice' => 'required',
|
'invoice' => 'required',
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
{!! Former::open($url)
|
{!! Former::open($url)
|
||||||
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit main-form')
|
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit main-form')
|
||||||
|
->autocomplete('off')
|
||||||
->method($method)
|
->method($method)
|
||||||
->rules([
|
->rules([
|
||||||
'name' => 'required',
|
'name' => 'required',
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
|
|
||||||
{!! Former::open('projects/bulk')->addClass('mainForm') !!}
|
{!! Former::open('projects/bulk')->autocomplete('off')->addClass('mainForm') !!}
|
||||||
<div style="display:none">
|
<div style="display:none">
|
||||||
{!! Former::text('action') !!}
|
{!! Former::text('action') !!}
|
||||||
{!! Former::text('public_id')->value($project->public_id) !!}
|
{!! Former::text('public_id')->value($project->public_id) !!}
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
->method($method)
|
->method($method)
|
||||||
->onsubmit('return onFormSubmit(event)')
|
->onsubmit('return onFormSubmit(event)')
|
||||||
->id('mainForm')
|
->id('mainForm')
|
||||||
|
->autocomplete('off')
|
||||||
->addClass('warn-on-exit')
|
->addClass('warn-on-exit')
|
||||||
->rules([
|
->rules([
|
||||||
'invoice_id' => 'required',
|
'invoice_id' => 'required',
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
{!! Former::open($url)
|
{!! Former::open($url)
|
||||||
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit task-form')
|
->addClass('col-lg-10 col-lg-offset-1 warn-on-exit task-form')
|
||||||
->onsubmit('return onFormSubmit(event)')
|
->onsubmit('return onFormSubmit(event)')
|
||||||
|
->autocomplete('off')
|
||||||
->method($method) !!}
|
->method($method) !!}
|
||||||
|
|
||||||
@if ($task)
|
@if ($task)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
@parent
|
@parent
|
||||||
@include('accounts.nav', ['selected' => ACCOUNT_USER_MANAGEMENT])
|
@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',
|
'first_name' => 'required',
|
||||||
'last_name' => 'required',
|
'last_name' => 'required',
|
||||||
'email' => 'required|email',
|
'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="col-md-5">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
|
|
||||||
{!! Former::open('vendors/bulk')->addClass('mainForm') !!}
|
{!! Former::open('vendors/bulk')->autocomplete('off')->addClass('mainForm') !!}
|
||||||
<div style="display:none">
|
<div style="display:none">
|
||||||
{!! Former::text('action') !!}
|
{!! Former::text('action') !!}
|
||||||
{!! Former::text('public_id')->value($vendor->public_id) !!}
|
{!! Former::text('public_id')->value($vendor->public_id) !!}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user