Skip to content

Commit

Permalink
Remove empty ID attribute from selects. The validator doesn't like it…
Browse files Browse the repository at this point in the history
…. [#30]
  • Loading branch information
marnen committed May 29, 2009
1 parent f2b281a commit 6cb684c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/events/_attendance.html.haml
Expand Up @@ -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")))

0 comments on commit 6cb684c

Please sign in to comment.