mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-21 09:00:07 +00:00
Fix form and upload thing.
This commit is contained in:
@@ -52,7 +52,7 @@ return [
|
|||||||
'csv_config' => 'CSV import configuration',
|
'csv_config' => 'CSV import configuration',
|
||||||
'specifix' => 'Bank- or file specific fixes',
|
'specifix' => 'Bank- or file specific fixes',
|
||||||
'csv_import_account' => 'Default import account',
|
'csv_import_account' => 'Default import account',
|
||||||
'attachments' => 'Attachments',
|
'attachments[]' => 'Attachments',
|
||||||
'store_new_withdrawal' => 'Store new withdrawal',
|
'store_new_withdrawal' => 'Store new withdrawal',
|
||||||
'store_new_deposit' => 'Store new deposit',
|
'store_new_deposit' => 'Store new deposit',
|
||||||
'store_new_transfer' => 'Store new transfer',
|
'store_new_transfer' => 'Store new transfer',
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ return [
|
|||||||
'date_format' => 'Datumformaat',
|
'date_format' => 'Datumformaat',
|
||||||
'csv_config' => 'Configuratiebestand',
|
'csv_config' => 'Configuratiebestand',
|
||||||
'specifix' => 'Bank- or of bestandsspecifieke opties',
|
'specifix' => 'Bank- or of bestandsspecifieke opties',
|
||||||
'attachments' => 'Bijlagen',
|
'attachments[]' => 'Bijlagen',
|
||||||
|
|
||||||
'store_new_withdrawal' => 'Nieuwe uitgave opslaan',
|
'store_new_withdrawal' => 'Nieuwe uitgave opslaan',
|
||||||
'store_new_deposit' => 'Nieuwe inkomsten opslaan',
|
'store_new_deposit' => 'Nieuwe inkomsten opslaan',
|
||||||
|
|||||||
@@ -5,8 +5,10 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{{ Form.open({'class' : 'form-horizontal','id' : 'store','url' : route('transactions.store',what)}) }}
|
<form method="POST" action="{{ route('transactions.store',what) }}" accept-charset="UTF-8" class="form-horizontal" id="store" enctype="multipart/form-data">
|
||||||
|
<input name="_token" type="hidden" value="{{ csrf_token() }}">
|
||||||
<input type="hidden" name="what" value="{{ what }}"/>
|
<input type="hidden" name="what" value="{{ what }}"/>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-6 col-md-12 col-sm-12">
|
<div class="col-lg-6 col-md-12 col-sm-12">
|
||||||
<div class="box box-primary">
|
<div class="box box-primary">
|
||||||
@@ -73,7 +75,7 @@
|
|||||||
{{ ExpandedForm.select('piggy_bank_id',piggies) }}
|
{{ ExpandedForm.select('piggy_bank_id',piggies) }}
|
||||||
|
|
||||||
<!-- ATTACHMENTS -->
|
<!-- ATTACHMENTS -->
|
||||||
{{ ExpandedForm.file('attachments', {'multiple': 'multiple'}) }}
|
{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple'}) }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -95,7 +97,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ Form.close|raw }}
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
|
|||||||
Reference in New Issue
Block a user