From 6cb684c940dd9c55733e2ed78bb44314f922ca1d Mon Sep 17 00:00:00 2001 From: Marnen Laibow-Koser Date: Fri, 29 May 2009 14:42:44 -0400 Subject: [PATCH] Remove empty ID attribute from selects. The validator doesn't like it. [#30] --- app/views/events/_attendance.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/events/_attendance.html.haml b/app/views/events/_attendance.html.haml index 582d1410..58b446b9 100644 --- a/app/views/events/_attendance.html.haml +++ b/app/views/events/_attendance.html.haml @@ -3,6 +3,6 @@ %td{:class => status} - form_for :commitment, event, :url => {:action => :change_status, :id => event.id}, :html => {:class => :attendance} do |f| %p= h(_("You are currently %{status}.")) % {:status => content_tag(:span, h(@status_strings[status]), :class => status)} - = select_tag(nil, options_for_select(@status_strings.invert, status), :class => :commit, :name => :status) + = select_tag(:status, options_for_select(@status_strings.invert, status), :class => :commit, :id => nil) %span.progress   = submit_tag(h(_("Change status"))) \ No newline at end of file