legendary-doc-site/apps/app/priv/templates/phx.gen.html/form.html.eex
2020-09-08 09:20:48 -05:00

10 lines
275 B
Elixir

<%%= form_for @changeset, @action, [class: "ui large form"], fn f -> %>
<div class="ui stacked left aligned segment">
<%= for input <- Mix.Legendary.inputs(schema) do %>
<%= input %>
<% end %>
<div>
<%%= styled_button "Save" %>
</div>
</div>
<%% end %>