Displaying 1 result from an estimated 1 matches for "start_login".
2007 May 28
2
helper with block compile error
..... TIA
# application_helper.rb
def link_block_to_remote( options = {}, html_options = {}, &block)
concat(link_to_remote(capture(&block), options, html_options),
block.binding)
end
# in template
<% link_block_to_remote
{:url => { :action => :start_login } },
{ :href => url_for( { :action => :start_login }), #
when degraded
:class => "home-box home-box2",
:id => "home-login-container"} do %>
<h1>LOGIN</h1>
<p>Already have a...