SyntaxError in Articles#homepage

Showing app/views/shared/_new_sidebar.html.erb where line #24 raised:

compile error
/Users/tamc2/Documents/NMK/feb-28-upgrade/app/views/shared/_new_sidebar.html.erb:24: syntax error, unexpected ':', expecting ')'
@output_buffer.concat "\t\t\t<td style=\"text-align:right\">"; @output_buffer.concat((f.submit "Login" :class => 'white_submit' ).to_s); @output_buffer.concat "</td>\n"
                                                                                                        ^

Extracted source (around line #24):

21: 		<tr><td colspan="3"><a style="color:#000000; text-transform:uppercase; margin-bottom:5px; font-size:11px; font-weight:bold;" href="/login/lost_password">Lost Password?</a></td>
22: 		<tr><td><%= f.check_box :remember_me%></td>
23: 			<td><%= f.label :remember_me, 'Remember Me'%></td>
24: 			<td style="text-align:right"><%=f.submit "Login" :class => 'white_submit' %></td>
25: 			</tr>
26: 		</table>
27: 		<% end %>

Trace of template inclusion: app/views/shared/_new_sidebar.html.erb, app/views/layouts/application.html.haml

RAILS_ROOT: /Users/tamc2/Documents/NMK/feb-28-upgrade

Application Trace | Framework Trace | Full Trace
/Users/tamc2/Documents/NMK/feb-28-upgrade/app/views/shared/_new_sidebar.html.erb:45:in `compile!'
/Library/Ruby/Gems/1.8/gems/haml-2.0.6/lib/haml/helpers/action_view_mods.rb:12:in `render'
/Library/Ruby/Gems/1.8/gems/haml-2.0.6/lib/haml/helpers.rb:57:in `non_haml'
/Library/Ruby/Gems/1.8/gems/haml-2.0.6/lib/haml/helpers/action_view_mods.rb:12:in `render'
/Users/tamc2/Documents/NMK/feb-28-upgrade/app/views/layouts/application.html.haml:16:in `_run_haml_app47views47layouts47application46html46haml'
/Library/Ruby/Gems/1.8/gems/haml-2.0.6/lib/haml/helpers/action_view_mods.rb:14:in `render'
/Library/Ruby/Gems/1.8/gems/haml-2.0.6/lib/haml/helpers/action_view_mods.rb:14:in `render'
lib/crud_methods.rb:125:in `respond_appropriately'
/Users/tamc2/Documents/NMK/feb-28-upgrade/app/controllers/articles_controller.rb:11:in `homepage'
/Library/Ruby/Gems/1.8/gems/haml-2.0.6/lib/sass/plugin/rails.rb:19:in `process'

Request

Parameters:

None

Show session dump

Response

Headers:

{"Content-Type"=>"text/html",
 "Cache-Control"=>"no-cache"}