#1326: Add checkbox to move favorites

This commit is contained in:
Toks
2013-12-17 12:14:32 -05:00
parent 13157cecfa
commit 27c80ba621
4 changed files with 33 additions and 19 deletions

View File

@@ -5,6 +5,15 @@
</div>
<%= form_tag(delete_moderator_post_post_path, :style => "clear: both;", :class => "simple_form") do %>
<% if @post.parent_id %>
<div class="input">
<label for="move_favorites">
<%= check_box_tag "move_favorites" %>
Move favorites to parent?
</label>
</div>
<% end %>
<div class="input">
<label for="reason">Reason</label>
<%= text_area_tag "reason" %>