Packages

A way to increase Elixir projects readability and maintenance based on Use Cases and Interactors.

Current section

Files

Jump to
use_case priv templates use_case.gen.phx_resource_html edit.html.eex
Raw

priv/templates/use_case.gen.phx_resource_html/edit.html.eex

<h1><%%= gettext("Edit <%= @schema.human_singular %>") %></h1>
<%%= render "form.html", Map.put(assigns, :action, Routes.<%= @schema.route_helper %>_path(@conn, :update, @<%= @schema.singular %>)) %>
<span><%%= link gettext("Back"), to: Routes.<%= @schema.route_helper %>_path(@conn, :index) %></span>