This commit is contained in:
r888888888
2013-06-20 15:10:34 -07:00
parent 99cb177398
commit 774dadf7a5
5 changed files with 43 additions and 4 deletions

View File

@@ -4,6 +4,11 @@
<%= simple_form_for(@tag) do |f| %>
<%= f.input :category, :collection => Danbooru.config.canonical_tag_category_mapping.to_a, :include_blank => false %>
<% if CurrentUser.user.is_janitor? %>
<%= f.input :is_locked, :collection => [["No", "false"], ["Yes", "true"]] %>
<% end %>
<%= f.button :submit, "Submit" %>
<% end %>
</div>