17
lib/eventos_web/templates/group_request/form.html.eex
Normal file
17
lib/eventos_web/templates/group_request/form.html.eex
Normal file
@@ -0,0 +1,17 @@
|
||||
<%= 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, :state, class: "control-label" %>
|
||||
<%= number_input f, :state, class: "form-control" %>
|
||||
<%= error_tag f, :state %>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<%= submit "Submit", class: "btn btn-primary" %>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user