legendary-doc-site/apps/app/priv/templates/phx.gen.html/form.html.eex
2020-07-30 16:05:09 +00:00

10 lines
315 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>
<%%= submit "Save", class: "ui primary fluid large submit button" %>
</div>
</div>
<%% end %>