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

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

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