Current section

Files

Jump to
curator priv templates curator.registerable.install form.html.eex
Raw

priv/templates/curator.registerable.install/form.html.eex

<%%= form_for @changeset, @action, fn f -> %>
<%%= if @changeset.action do %>
<div class="alert alert-danger">
<p>Oops, something went wrong! Please check the errors below.</p>
</div>
<%% end %>
<div class="form-group">
<%%= label f, :email, class: "control-label" %>
<%%= email_input f, :email, class: "form-control" %>
<%%= error_tag f, :email %>
</div>
<div class="form-group">
<%%= submit "Submit", class: "btn btn-primary" %>
</div>
<%% end %>