Current section
Files
Jump to
Current section
Files
lib/athena_web/admin/templates/event/form.html.heex
<%= form_for @changeset, @action, fn f -> %>
<%= if @changeset.action do %>
<div class="alert alert-danger">
<p>
<%= gettext("Oops, something went wrong! Please check the errors below.") %>
</p>
</div>
<% end %>
<%= label(f, :name, gettext("name")) %>
<%= text_input(f, :name) %>
<%= error_tag(f, :name) %>
<div>
<%= "save" |> gettext |> submit %>
</div>
<% end %>