views
This commit is contained in:
8
app/views/bans/_form.html.erb
Normal file
8
app/views/bans/_form.html.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<%= simple_form_for(ban) do |f| %>
|
||||
<%= error_messages_for("ban") %>
|
||||
|
||||
<%= f.input :user_name, :as => :string %>
|
||||
<%= f.input :duration, :hint => "in days" %>
|
||||
<%= f.input :reason %>
|
||||
<%= f.button :submit, :value => "Ban" %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user