Info on View Helper Methods

Dr_Gavin
Sun, 16 Nov 2008 22:58:29 -0000

Hi there!
Can anyone point me in the direction of some resources for building
your own view helpers?

I want to acheive something simple:

In the view,

<%= button  do %>
  Delete
<% end %>

will give


  Delete


in the source?

Can anybody help out?
thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org