D'oh. If I had read the list more carefully I'd have seen this discussed in the 
mail thread "[Hobo Users] Re: links not rendering as HTML"

thanks,

Peter


On Jun 25, 2011, at 1:05 PM, Peter Booth wrote:

> 
> 
> With the latest hobo from the rails3 branch, if I create a model with
> 
>  hobo g resource contact name:string company:string 
> 
> and create a views/contacts/index.dryml like so:
> 
> <index-page >
>   <collection: replace>
>     <div>
>       <table-plus fields="this, company"/>
>     </div>
>   </collection:>
> </index-page>
> 
> hen the "this" field is no longer correctly written as a link to the object.
> 
> Instead of seeing an <a> tag I see that &lt;a was written in the generated 
> HTML:
> 
> 
> 
>  <td class="this-view">
>                 <span class="view model::contact:1">&lt;a 
> class="contact-link" href="/contacts/1-fred"&gt;&lt;span class="view 
> contact-name "&gt;fred&lt;/span&gt;&lt;/a&gt;</span>
>             </td>
>             <td class="company-view">
>                 <span class="view contact-company">acme</span>
>             </td>
> 
> I am using Rails 3.0.9 on OSX with ruby 1.9.2p136
> 
> 
> I see this problem with both the rails3 trunk and also if I install the --pre 
> gem 
> 
> 
> Am I doing something foolish here or are others seeing the same issue?
> 
> Peter
> 
> 
> 
> <PastedGraphic-1.tiff>

-- 
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