mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix form and upload thing.
This commit is contained in:
parent
142bdc9430
commit
a34782575f
@ -52,7 +52,7 @@ return [
|
||||
'csv_config' => 'CSV import configuration',
|
||||
'specifix' => 'Bank- or file specific fixes',
|
||||
'csv_import_account' => 'Default import account',
|
||||
'attachments' => 'Attachments',
|
||||
'attachments[]' => 'Attachments',
|
||||
'store_new_withdrawal' => 'Store new withdrawal',
|
||||
'store_new_deposit' => 'Store new deposit',
|
||||
'store_new_transfer' => 'Store new transfer',
|
||||
|
@ -51,7 +51,7 @@ return [
|
||||
'date_format' => 'Datumformaat',
|
||||
'csv_config' => 'Configuratiebestand',
|
||||
'specifix' => 'Bank- or of bestandsspecifieke opties',
|
||||
'attachments' => 'Bijlagen',
|
||||
'attachments[]' => 'Bijlagen',
|
||||
|
||||
'store_new_withdrawal' => 'Nieuwe uitgave opslaan',
|
||||
'store_new_deposit' => 'Nieuwe inkomsten opslaan',
|
||||
|
@ -5,8 +5,10 @@
|
||||
{% endblock %}
|
||||
|
||||
{% 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 }}"/>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-12 col-sm-12">
|
||||
<div class="box box-primary">
|
||||
@ -73,7 +75,7 @@
|
||||
{{ ExpandedForm.select('piggy_bank_id',piggies) }}
|
||||
|
||||
<!-- ATTACHMENTS -->
|
||||
{{ ExpandedForm.file('attachments', {'multiple': 'multiple'}) }}
|
||||
{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple'}) }}
|
||||
|
||||
</div>
|
||||
|
||||
@ -95,7 +97,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ Form.close|raw }}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
|
Loading…
Reference in New Issue
Block a user