If you ALWAYS want this field to be displayed this way, you can use
human_attribute_name. Sample: (it goes in the model)
def self.human_attribute_name(attr)
return super unless attr == "timeline.due_date"
"Target Decision Date"
end
On Tue, Aug 3, 2010 at 5:53 AM, Spiralis <[email protected]> wrote:
> Yes, I guess so. However, I thought of doing this myself, but I found
> that this would make a link to the record *no matter if the current
> user has permissions to view it or not*.
>
> So, the preferred way would be to keep "the magic" that Hobo adds to
> this. Thanks for your suggestion though, Nicolas.
>
> On Aug 3, 11:41 am, Nicolas Oury <[email protected]> wrote:
> > Would this work?
> >
> > <heading: replace>
> > <h4 param="heading"><a><view:full-name/></a></h4>
> > </heading>
> >
> > (hat is just a guess, I am a beginner too)
>
> --
> 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]<hobousers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>
>
--
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.