This commit is contained in:
parent
9e9d8ffdaf
commit
094b0f0324
2 changed files with 8 additions and 4 deletions
|
@ -1,10 +1,14 @@
|
|||
<.header>
|
||||
<%= gettext("Listing Exams") %>
|
||||
<div>
|
||||
<button phx-click="sort" phx-value-by="subject" class="font-light"><%= gettext("Sort by Subject") %></button>
|
||||
<button phx-click="sort" phx-value-by="subject" class="font-light">
|
||||
<%= gettext("Sort by Subject") %>
|
||||
</button>
|
||||
<a>|</a>
|
||||
|
||||
<button phx-click="sort" phx-value-by="date" class="font-light"><%= gettext("Sort by Date") %></button>
|
||||
<button phx-click="sort" phx-value-by="date" class="font-light">
|
||||
<%= gettext("Sort by Date") %>
|
||||
</button>
|
||||
</div>
|
||||
<:actions>
|
||||
<.link patch={~p"/exams/new"}>
|
||||
|
|
Loading…
Reference in a new issue