2020-09-08 14:20:48 +00:00
|
|
|
<div class="p-6 mx-auto max-w-2xl">
|
|
|
|
<div class="flex pb-6">
|
|
|
|
<div class="w-/12 flex-1 text-4xl">
|
|
|
|
<h1 class="ui header">Edit <%= schema.human_singular %></h1>
|
2020-07-30 16:05:09 +00:00
|
|
|
</div>
|
2020-09-08 14:20:48 +00:00
|
|
|
<div class="w-/12 text-4xl text-right">
|
|
|
|
<%%= styled_button_link "Back", to: Routes.<%= schema.route_helper %>_path(@conn, :index)%>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-07-29 17:07:36 +00:00
|
|
|
|
2020-07-30 16:05:09 +00:00
|
|
|
<div class="centered row">
|
|
|
|
<div class="center aligned column">
|
|
|
|
<%%= changeset_error_block(@changeset) %>
|
2020-09-08 14:20:48 +00:00
|
|
|
<div class="bg-white shadow rounded px-4 py-6 bg-gray-300">
|
|
|
|
<%%= render "form.html", Map.put(assigns, :action, Routes.<%= schema.route_helper %>_path(@conn, :update, @<%= schema.singular %>)) %>
|
|
|
|
</div>
|
2020-07-30 16:05:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|