#26 Annual conservation reports
* enhances TimespanReportForm control rendering * adds/updates translations
This commit is contained in:
@@ -19,12 +19,14 @@
|
||||
{% include 'form/table/generic_table_form_body.html' %}
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
{% if form.show_cancel_btn %}
|
||||
<a href="{{ form.cancel_redirect }}">
|
||||
<button class="btn btn-default" type="button" title="{% trans 'Cancel' %}">{% trans 'Cancel' %}</button>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-6 d-flex justify-content-end">
|
||||
<button class="btn btn-default" type="submit" title="{% trans 'Save' %}">{% trans 'Save' %}</button>
|
||||
<button class="btn btn-default" type="submit" title="{{form.action_btn_label}}">{{form.action_btn_label}}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</div>
|
||||
{% if form.render_submit %}
|
||||
<div class="modal-footer">
|
||||
<button type="submit" class="btn btn-default">{% trans 'Continue' %}</button>
|
||||
<button type="submit" class="btn btn-default" title="{{form.action_btn_label}}">{{form.action_btn_label}}</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</form>
|
||||
Reference in New Issue
Block a user