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 temple edit.html.eex
Raw

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

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