Permalink
Browse files

corrections #11

  • Loading branch information...
1 parent ce44184 commit 037fb85228d94270ddae57a8d0c18ba07e835c78 @edmagne edmagne committed Oct 31, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 app/views/hooks/_view_polls_form.html.erb
View
3 app/views/hooks/_view_polls_form.html.erb
@@ -13,7 +13,6 @@ See the License for the specific language governing permissions and
limitations under the License. -->
<div id="rmipoll">
- <%= error_messages_for @bet %>
<ul>
<li class="worktime">
<%= toggle_link t(:label_issue_votes), 'poll-members' %>
@@ -32,7 +31,7 @@ limitations under the License. -->
<% if User.current.can_bet?(@issue.project_id, 1) and @issue.can_receive_bet? %>
<%= form_for(
- :bet, @bet,
+ :bet,
:remote => true,
:url => {:controller => 'polls', :action => 'bet', :issue_id => @issue.id, :project_id => @issue.project_id},
:method => :post,

0 comments on commit 037fb85

Please sign in to comment.