Skip to content

Commit

Permalink
fix(memberships): not used btn CSS component
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Oct 28, 2023
1 parent f4e2c3f commit a5d9b8b
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@
{% if request.all_memberships.exists %}
{% include "accounts/memberships/membership_list.html" with memberships=request.all_memberships.all %}
{% else %}
<div class="max-w-md flex flex-col mx-auto">
<div class="max-w-xl flex flex-col mx-auto">
<span class="self-center py-4">
{# TODO: show CTA to entry the section space #}
no memberships
{# TODO: show CTA to entry the section space #}
<span class="alert alert-info">We are sorry, but you are not a member of any section.</span>
</span>
<div class="flex flex-row justify-between items-center space-x-4">
<h1 class="test-base-content text-lg font-medium">Your section is not here?</h1>
<a class="bg-primary text-white p-2 rounded inline-block"
href="{% url "accounts:membership-new" %}">Request new membership</a>
<div class="flex flex-row justify-end items-center space-x-4">
<a class="btn btn-primary" href="{% url "accounts:membership-new" %}">Request new membership</a>
</div>
</div>
{% endif %}
Expand Down

0 comments on commit a5d9b8b

Please sign in to comment.