Skip to content

Commit

Permalink
Revert "remove unused partials per 66fd4ea"
Browse files Browse the repository at this point in the history
This reverts commit 90b007e.
The partials are still in use on submissions#view when hitting js view.
  • Loading branch information
bamnet committed Jun 1, 2012
1 parent 90b007e commit a62671a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/views/submissions/_approve_form.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<%= form_for([submission.feed, submission]) do |f| %>
<div class="clearfix">
<%= f.label :duration %>
<div class="input">
<%= f.number_field :duration, :class => "span3" %>
</div>
</div>
<%= f.hidden_field :moderation_flag, { :value => true }%>
<%= f.submit "Moderate Content", :class => "btn primary" %>
<% end %>
10 changes: 10 additions & 0 deletions app/views/submissions/_deny_form.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<%= form_for([submission.feed, submission]) do |f| %>
<div class="clearfix">
<%= f.label :moderation_reason, "Reason" %>
<div class="input">
<%= f.text_area :moderation_reason, :class => "span3" %>
</div>
</div>
<%= f.hidden_field :moderation_flag, { :value => false }%>
<%= f.submit "Moderate Content", :class => "btn primary" %>
<% end %>

1 comment on commit a62671a

@zr2d2
Copy link
Member

@zr2d2 zr2d2 commented on a62671a Jun 1, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did things in the wrong order, glad @brzaik caught it

Please sign in to comment.