legendary-doc-site/apps/app/priv/templates/phx.gen.html/form.html.eex

11 lines
235 B
Elixir
Raw Normal View History

2020-07-30 16:05:09 +00:00
<%%= form_for @changeset, @action, [class: "ui large form"], fn f -> %>
<div>
2020-07-30 16:05:09 +00:00
<%= for input <- Mix.Legendary.inputs(schema) do %>
<%= input %>
2020-07-29 17:07:36 +00:00
<% end %>
2020-07-30 16:05:09 +00:00
<div>
<%%= styled_button "Save" %>
2020-07-30 16:05:09 +00:00
</div>
2020-07-29 17:07:36 +00:00
</div>
<%% end %>