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

16 lines
481 B
Elixir
Raw Permalink Normal View History

2019-11-10 16:52:54 +00:00
<h1>New Group</h1>
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>
2019-11-10 16:52:54 +00:00
<% end %>