Displaying 2 results from an estimated 2 matches for "store_help".
Did you mean:
store_helper
2008 Jul 14
1
question about method "hidden_div_if" in AWDR 2
I followed the sample code in AWDR 2 like this:
store_helper.rb
def hidden_div_if(conditions, attributes = {})
if conditions
attributes["style"] = "display:none"
else
attr = tag_options(attributes.stringify_keys)
"<div #{attr}>"
end
end
store.html.erb
<%= hidden_div_if(@cart.items.empty?, :id =>...
2005 Aug 29
2
Where to point the browser to for appdoc documentation
...cation
Documentation''
doc/README_FOR_APP
app/controllers/admin_controller.rb
app/controllers/application.rb
app/controllers/login_controller.rb
app/controllers/store_controller.rb
app/helpers/admin_helper.rb
app/helpers/application_helper.rb
app/helpers/login_helper.rb
app/helpers/store_helper.rb
app/models/cart.rb
app/models/line_item.rb
app/models/order.rb
app/models/product.rb
app/models/user.rb
Thanks in advance,
Martijn