Clean up view HTML

This commit is contained in:
James Cole
2018-01-12 18:42:48 +01:00
parent 89e0791e2f
commit 4984eda320
61 changed files with 78 additions and 201 deletions

View File

@@ -53,7 +53,7 @@
</div>
</div>
<!-- panel for credit card options -->
{# panel for credit card options #}
{% if preFilled.accountRole == 'ccAsset' %}
<div class="box">
<div class="box-header with-border">
@@ -66,7 +66,7 @@
</div>
{% endif %}
<!-- panel for options -->
{# panel for options #}
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'options'|_ }}</h3>

View File

@@ -50,15 +50,15 @@
<h3 class="box-title">{{ 'optionalFields'|_ }}</h3>
</div>
<div class="box-body">
<!-- CATEGORY ALWAYS -->
{# category always #}
{{ ExpandedForm.text('category',data['category']) }}
<!-- TAGS -->
{# tags #}
{{ ExpandedForm.text('tags') }}
</div>
</div>
<!-- box for attachments -->
{# box for attachments #}
{% if optionalFields.attachments %}
<div class="box">
<div class="box-header with-border">
@@ -66,14 +66,14 @@
</div>
<div class="box-body">
{% if optionalFields.attachments %}
<!-- ATTACHMENTS -->
{# attachments #}
{{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}
{% endif %}
</div>
</div>
{% endif %}
<!-- panel for options -->
{# panel for options #}
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'options'|_ }}</h3>