Use caller for date picker to show alert message

This commit is contained in:
leigh-mil
2019-09-04 11:21:12 -04:00
parent 659bd131b3
commit e39d2fe191
3 changed files with 10 additions and 5 deletions

View File

@@ -170,7 +170,9 @@
</div>
<div class="form-row">
<div class="form-col">
{{ DatePicker(fields.end_date, watch=True, optional=False, pop_end_alert=True) }}
{% call DatePicker(fields.end_date, watch=True, optional=False) %}
{{ Alert(message="task_orders.form.pop_end_alert" | translate) }}
{% endcall %}
</div>
</div>
{% else %}