ip bans: rename ban types to full and partial.
Rename ban types from "normal" and "signup" to "full" and "partial".
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
<h1>New IP Ban</h1>
|
||||
|
||||
<p>
|
||||
A normal IP ban restricts the IP from creating new accounts, logging in to
|
||||
A full IP ban prevents the IP from creating new accounts, logging in to
|
||||
existing accounts, or editing the site in any way.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
A signup IP ban restricts new signups from editing anything until after
|
||||
A partial IP ban prevents new signups from editing anything until after
|
||||
they've verified their email address.
|
||||
<p>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<%= edit_form_for(@ip_ban) do |f| %>
|
||||
<%= f.input :ip_addr, label: "IP Address", as: :string, hint: "Add /24 to ban a subnet. Example: 1.2.3.4/24" %>
|
||||
<%= f.input :reason, as: :string %>
|
||||
<%= f.input :category, as: :select, include_blank: false, collection: [["Normal", "normal"], ["Signup", "signup"]] %>
|
||||
<%= f.input :category, as: :select, include_blank: false, collection: [["Full", "full"], ["Partial", "partial"]] %>
|
||||
<%= f.button :submit, "Submit" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user