Skip to content

Commit

Permalink
UI/navigation changes to in "Edit this participant" (#1323)
Browse files Browse the repository at this point in the history
* Update forms.html

Added navigation element in 'Edit Participants' window

* Update forms.html

Updated button on form for editing participants--"Save" for edits instead of "Add."
  • Loading branch information
singeltary authored Jan 5, 2025
1 parent bd689f9 commit 0574234
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ihatemoney/templates/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@
{{ input(form.weight) }}
</fieldset>
<div class="actions">
{{ form.submit(class="btn btn-primary") }}
<button class="btn btn-secondary input-group-addon" type="submit">{{ _("Save") }}</button>
<a href="{{ url_for(".list_bills") }}" class="btn btn-outline-secondary"> {{_("Cancel") }} </a>
</div>
{% endmacro %}

Expand Down

0 comments on commit 0574234

Please sign in to comment.