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