frenzy/lib/frenzy_web/templates/group/new.html.eex

9 lines
260 B
Elixir

<%= form_for @changeset, Routes.group_path(@conn, :create), fn form -> %>
<div class="form-group">
<label for="title">Title</label>
<%= text_input form, :title %>
</div>
<div class="form-group">
<%= submit "Create Group" %>
</div>
<% end %>