mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 17:04:45 -04:00
Fix migration urls
This commit is contained in:
parent
f34df17d36
commit
0621c215e7
@ -12,7 +12,7 @@
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<h4>Let's continue with authentication.</h4><br/>
|
||||
<form action="/migration/auth" method="post" id="auth-form">
|
||||
<form action="{{ url('/migration/auth') }}" method="post" id="auth-form">
|
||||
{{ csrf_field() }}
|
||||
<div class="form-group">
|
||||
<label for="email">E-mail address</label>
|
||||
@ -26,7 +26,7 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="panel-footer text-right">
|
||||
<button onclick="document.getElementById('auth-form').submit();" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
|
||||
<button form="auth-form" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
@ -12,7 +12,7 @@
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<h4>Awesome! Please select the company you would like to apply migration.</h4>
|
||||
<form action="/migration/companies" method="post" id="auth-form">
|
||||
<form action="{{ url('/migration/companies') }}" method="post" id="auth-form">
|
||||
{{ csrf_field() }}
|
||||
<input type="hidden" name="account_key" value="{{ auth()->user()->account->account_key }}">
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="panel-footer text-right">
|
||||
<button onclick="document.getElementById('auth-form').submit();" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
|
||||
<button form="auth-form" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
@ -10,13 +10,13 @@
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<h4>{!! trans('texts.download_data') !!}</h4>
|
||||
<form action="/migration/download" method="post">
|
||||
<form action="{{ url('/migration/download') }}" method="post">
|
||||
{!! csrf_field() !!}
|
||||
<button class="btn btn-primary">Download</button>
|
||||
<button class="btn btn-primary">{!! trans('texts.download') !!}</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="panel-footer text-right">
|
||||
<a href="/migration/import" class="btn btn-primary">{!! trans('texts.continue') !!}</a>
|
||||
<a href="{{ url('/migration/import') }}" class="btn btn-primary">{!! trans('texts.continue') !!}</a>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
@ -12,7 +12,7 @@
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<h4>We need to know the link of your application.</h4><br/>
|
||||
<form action="/migration/endpoint" method="post" id="input-endpoint-form">
|
||||
<form action="{{ url('/migration/endpoint') }}" method="post" id="input-endpoint-form">
|
||||
{{ csrf_field() }}
|
||||
<div class="form-check">
|
||||
<div class="form-group">
|
||||
@ -23,7 +23,7 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="panel-footer text-right">
|
||||
<button onclick="document.getElementById('input-endpoint-form').submit();" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
|
||||
<button form="input-endpoint-form" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<h4>In order to start the migration, we need to know where do you want to migrate.</h4><br/>
|
||||
<form action="/migration/type" method="post" id="select-type-form">
|
||||
<form action="{{ url('migration/type') }}" method="post" id="select-type-form">
|
||||
{{ csrf_field() }}
|
||||
<!-- <div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="option" id="option1" value="0" checked>
|
||||
@ -30,7 +30,7 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="panel-footer text-right">
|
||||
<button onclick="document.getElementById('select-type-form').submit();" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
|
||||
<button form="select-type-form" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user