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

13 lines
460 B
Elixir
Raw Normal View History

2019-03-21 23:21:56 +00:00
<%= form_for @changeset, Routes.group_path(@conn, :create), fn form -> %>
2019-04-01 16:24:22 +00:00
<div class="form-group row">
<label for="title" class="col-sm-2 col-form-label">Title</label>
<div class="col-sm-10">
<%= text_input form, :title, placeholder: "My New Group", class: "form-control" %>
</div>
2019-03-21 23:21:56 +00:00
</div>
2019-04-01 16:24:22 +00:00
<div class="form-group row">
<div class="col-sm-10">
<%= submit "Create Group", class: "btn btn-primary" %>
</div>
2019-03-21 23:21:56 +00:00
</div>
<% end %>