feat: make exams on the calendar sortable
This commit is contained in:
parent
08c8c0f0f7
commit
d9f13671d3
1 changed files with 5 additions and 1 deletions
|
@ -111,7 +111,11 @@
|
||||||
<%= if Map.has_key?(@events, date) do %>
|
<%= if Map.has_key?(@events, date) do %>
|
||||||
<ul class="text-xs">
|
<ul class="text-xs">
|
||||||
<%= for event <- @events[date] do %>
|
<%= for event <- @events[date] do %>
|
||||||
<li id={"event-#{event.id}"}>{event.subject}</li>
|
<li id={"event-#{event.id}"}>
|
||||||
|
<button phx-click="edit" phx-value-id={event.id}>
|
||||||
|
{event.subject}
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue