Skip to content

Commit

Permalink
Merge branch 'master' of github.com:concerto/concerto
Browse files Browse the repository at this point in the history
  • Loading branch information
brzaik committed Jun 1, 2012
2 parents 1bb805a + a62671a commit 4ffd7e2
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 %>

0 comments on commit 4ffd7e2

Please sign in to comment.