Skip to content

Commit

Permalink
fix(emails): button group for email actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Nov 18, 2023
1 parent 7ae1ca3 commit 7f1f74e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs
Submodule docs updated from 31f325 to c5d402
22 changes: 12 additions & 10 deletions fiesta/apps/accounts/templates/account/email.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,18 @@ <h1 class="card-title">{% trans "E-mail Addresses" %}</h1>
</li>
{% endfor %}
</ul>
<div class="Forms__field Forms__field--buttons btn-group flex-wrap">
<button class="btn btn-sm btn-primary btn-outline"
type="submit"
name="action_primary">{% trans 'Make Primary' %}</button>
<button class="btn btn-sm btn-warning btn-outline"
type="submit"
name="action_send">{% trans 'Re-send Verification' %}</button>
<button class="btn btn-sm btn-error btn-outline"
type="submit"
name="action_remove">{% trans 'Remove' %}</button>
<div class="Forms__field Forms__field--buttons ">
<div class="join join-vertical md:join-horizontal">
<button class="btn btn-sm btn-primary btn-outline join-item"
type="submit"
name="action_primary">{% trans 'Make Primary' %}</button>
<button class="btn btn-sm btn-warning btn-outline join-item"
type="submit"
name="action_send">{% trans 'Re-send Verification' %}</button>
<button class="btn btn-sm btn-error btn-outline join-item"
type="submit"
name="action_remove">{% trans 'Remove' %}</button>
</div>
</div>
</form>
{% else %}
Expand Down

0 comments on commit 7f1f74e

Please sign in to comment.