mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Select a branding with a link, not form
Selecting a branding just takes you to a new page, it doesn’t change any state. Links are generally the way you go from one page to another on the web.
This commit is contained in:
@@ -17,16 +17,15 @@
|
||||
<a href="{{ url_for('.create_email_branding') }}" class="button align-with-heading">Add new brand</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid-row">
|
||||
<div class="column-three-quarters">
|
||||
<form method="post">
|
||||
{{ live_search(target_selector='.multiple-choice', show=show_search_box, form=search_form) }}
|
||||
{{ radios(form.email_branding) }}
|
||||
{{ page_footer(
|
||||
'Next'
|
||||
) }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{{ live_search(target_selector='.message-name', show=show_search_box, form=search_form) }}
|
||||
<nav>
|
||||
{% for id, name in email_brandings %}
|
||||
<div class="message-name">
|
||||
<a href="{{ url_for('.update_email_branding', branding_id=id) }}">
|
||||
{{name}}
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user