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

16 lines
442 B
Elixir
Raw Permalink Normal View History

2020-06-01 22:51:45 +00:00
<h1>Edit Group</h1>
<%= form_for @changeset, Routes.group_path(@conn, :update, @group.id), fn f -> %>
2022-09-14 02:25:11 +00:00
<div class="row mb-2">
2020-06-01 22:51:45 +00:00
<label class="col-sm-2 col-form-label" for="title">Title</label>
<div class="col-sm-10">
<%= text_input f, :title, class: "form-control" %>
</div>
</div>
2022-09-14 02:25:11 +00:00
<div class="mb-2">
<div class="col-sm-10">
<%= submit "Update Group", class: "btn btn-primary" %>
</div>
2020-06-01 22:51:45 +00:00
</div>
<% end %>