Current section

Files

Jump to
mandarin priv templates mandarin.gen.html new.html.heex
Raw

priv/templates/mandarin.gen.html/new.html.heex

<h1>
<%%= dgettext("mandarin.<%= context.basename %>", "New <%= schema.human_singular %>") %>
</h1>
<%%= render "form.html", Map.put(assigns, :action, Routes.<%= context.basename %>_<%= schema.route_helper %>_path(@conn, :create)) %>