Rename "Save" button to "Save as draft"
This commit is contained in:
parent
7299d7d414
commit
65076f0165
@ -124,7 +124,7 @@
|
|||||||
<div class="ui divider"></div>
|
<div class="ui divider"></div>
|
||||||
<div class="ui error message"></div>
|
<div class="ui error message"></div>
|
||||||
<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}">
|
<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}">
|
||||||
<input class="ui primary button" type="submit" name='submit' value="Save">
|
<button class="ui primary button" type="submit" name='submit' value="Save">Save as draft</button>
|
||||||
<input class="ui button" type="submit" name='submit' value="Save and continue editing">
|
<input class="ui button" type="submit" name='submit' value="Save and continue editing">
|
||||||
{% if request.resolver_match.url_name == 'budget_edit' %}
|
{% if request.resolver_match.url_name == 'budget_edit' %}
|
||||||
<input class="ui right floated red button" type="submit" name='submit' value="Delete" onclick="return confirm('Are you sure you want to delete this budget? This action is IRREVERSIBLE.');">
|
<input class="ui right floated red button" type="submit" name='submit' value="Delete" onclick="return confirm('Are you sure you want to delete this budget? This action is IRREVERSIBLE.');">
|
||||||
|
@ -110,7 +110,7 @@
|
|||||||
<div class="ui divider"></div>
|
<div class="ui divider"></div>
|
||||||
<div class="ui error message"></div>
|
<div class="ui error message"></div>
|
||||||
<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}">
|
<input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}">
|
||||||
<input class="ui primary button" type="submit" name='submit' value="Save">
|
<button class="ui primary button" type="submit" name='submit' value="Save">Save as draft</button>
|
||||||
<input class="ui button" type="submit" name='submit' value="Save and continue editing">
|
<input class="ui button" type="submit" name='submit' value="Save and continue editing">
|
||||||
{% if request.resolver_match.url_name == 'claim_edit' %}
|
{% if request.resolver_match.url_name == 'claim_edit' %}
|
||||||
<input class="ui right floated red button" type="submit" name='submit' value="Delete" onclick="return confirm('Are you sure you want to delete this reimbursement claim? This action is IRREVERSIBLE.');">
|
<input class="ui right floated red button" type="submit" name='submit' value="Delete" onclick="return confirm('Are you sure you want to delete this reimbursement claim? This action is IRREVERSIBLE.');">
|
||||||
|
Loading…
Reference in New Issue
Block a user