Using Hobo 0.8.3 I updated using hobo/taglibs/rapid.dryml @ lines
13 .. 27:

<def tag="field-list" attrs="tag, show-non-editable">
  <% tag ||= scope.in_form ? "input" : "view" %>
  <labelled-item-list merge-attrs="&attributes -
attrs_for(:with_fields)">
    <with-fields merge-attrs="&attributes & attrs_for(:with_fields)">
      <labelled-item unless="&tag == 'input' && !can_edit? && !
show_non_editable">
        <item-label param="#{this_field.to_s.sub('?', '')}-label">
          <do param="label"><%= this_field.to_s.titleize %></do>
        </item-label>
        <item-value param="#{this_field.to_s.sub('?', '')}-view">
          <do param="view"><call-tag tag="&tag"
param="#{this_field.to_s.sub('?', '')}-tag"/></do>
        </item-value>
      </labelled-item>
    </with-fields>
  </labelled-item-list>
</def>

The modification is effectively the same.

That works at the first glance.

On Oct 24, 3:13 pm, Tom Locke <[EMAIL PROTECTED]> wrote:
> > Sorry, I did not understand which file I had to monkey patch or  
> > update.
>
> Adding it to application.dryml would be fine. Maybe some funny stuff  
> happened with line-breaks when I pasted it in the email?
>
> Tom
--~--~---------~--~----~------------~-------~--~----~
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