summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingtong Li <runassudo@yingtongli.me>2020-09-09 23:15:24 +1000
committerYingtong Li <runassudo@yingtongli.me>2020-09-09 23:15:24 +1000
commit65076f0165e6b1ac2abddd8a98e2c84e0ed8542a (patch)
tree2b066e1a60348f0856679b7febe3a934ebbcfabe
parent7299d7d414febd319362fb79b101a77ca7b32f41 (diff)
Rename "Save" button to "Save as draft"
-rw-r--r--sstreasury/jinja2/sstreasury/budget_edit.html2
-rw-r--r--sstreasury/jinja2/sstreasury/claim_edit.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/sstreasury/jinja2/sstreasury/budget_edit.html b/sstreasury/jinja2/sstreasury/budget_edit.html
index bd2aea3..e2a0087 100644
--- a/sstreasury/jinja2/sstreasury/budget_edit.html
+++ b/sstreasury/jinja2/sstreasury/budget_edit.html
@@ -124,7 +124,7 @@
<div class="ui divider"></div>
<div class="ui error message"></div>
<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">
{% 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.');">
diff --git a/sstreasury/jinja2/sstreasury/claim_edit.html b/sstreasury/jinja2/sstreasury/claim_edit.html
index 6cc60bd..912403a 100644
--- a/sstreasury/jinja2/sstreasury/claim_edit.html
+++ b/sstreasury/jinja2/sstreasury/claim_edit.html
@@ -110,7 +110,7 @@
<div class="ui divider"></div>
<div class="ui error message"></div>
<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">
{% 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.');">
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.