16 lines
442 B
Elixir
16 lines
442 B
Elixir
<h1>Edit Group</h1>
|
|
|
|
<%= form_for @changeset, Routes.group_path(@conn, :update, @group.id), fn f -> %>
|
|
<div class="row mb-2">
|
|
<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>
|
|
<div class="mb-2">
|
|
<div class="col-sm-10">
|
|
<%= submit "Update Group", class: "btn btn-primary" %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|