Hash :
30d1749c
Author :
Thomas de Grivel
Date :
2021-11-22T13:59:31
<div class="container-fluid">
<h1><%= gettext("Edit organisation %{organisation}", organisation: @org.name || @org.slug.slug) %></h1>
<%= form_for @changeset, @action, fn f -> %>
<%= inputs_for f, :slug, fn ff -> %>
<div class="mb-3">
<%= label ff, :slug, class: "form-label" %>
<%= text_input ff, :slug, class: "form-control" %>
<%= error_tag ff, :slug %>
</div>
<% end %>
<div class="mb-3">
<%= label f, :name, class: "form-label" %>
<%= text_input f, :name, class: "form-control" %>
<%= error_tag f, :name %>
</div>
<div class="mb-3">
<%= label f, :description, class: "form-label" %>
<%= textarea f, :description, class: "form-control" %>
<%= error_tag f, :description %>
</div>
<div class="mb-3">
<%= link gettext("Cancel"),
to: Routes.admin_organisation_path(@conn, :show, @org),
class: "btn btn-secondary" %>
<%= submit gettext("Submit"), class: "btn btn-primary" %>
</div>
<% end %>
</div>