Hoi.

I've written something like

<def tag="input" for="HoboFields::TaxEntitlement" attrs="labels,
titleize"><%
  labels ||= {}
  titleize = true if titleize.nil?
  options = HoboFields::TaxEntitlement::TAX_ENTITLEMENTS
  options.each do |o|
%>
  <p><%= radio_button_tag(param_name_for_this, o[1], (o[1] == this))
%> <span><%= o[0] %></span></p>
<% end %>
</def>

for my own rich type HoboFields::TaxEntitlement.

—Gert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to