For the first, looking at the tag definition, it seems that your body
item is probably defined as the primary-content and as such if you
want it to be hidden, you'll need to replace that param item, i.e.
<primary-content: replace />
On the second question, the card definition by default includes all
but certain special types.  You've only replaced the creation details
(the timestamp) and not the rest of the contents of the card.

On Sep 22, 5:05 pm, Daniel M <[EMAIL PROTECTED]> wrote:
> The same happens on the card definition :
>
> <def tag="card" for="Documento">
>         <base-card merge>
>         <creation-details: replace>
>           <a to="&this">
>             <view:descricao/>
>           </a>
>       </creation-details:>
>   </base-card>
> </def>
>
> the attributes body still appears!
>
> How can i resolve this?
>
> On Sep 22, 11:35 pm, Daniel M <[EMAIL PROTECTED]> wrote:
>
> > Hello i have a model (Document):
>
> > class Documento < ActiveRecord::Base
>
> >   hobo_model # Don't put anything above this
>
> >   fields do
> >     body :text
> >     ref :string
> >     descricao :string
> >     timestamps
> >   end
>
> >   belongs_to :marca
> >   belongs_to :owner,:class_name => "User", :creator => true
> >   belongs_to :entidade
> >   belongs_to :assunto
> >   belongs_to :tipo_doc
> >   belongs_to :estado
>
> >   validates_presence_of :tipo_doc_id
>
> > But on my Show page i can´ t hide de field body! why?
>
> > this away should result:
>
> >   <show-page>
> >  <field-list: skip="body,entidade">
> >   </field-list>
> > </show-page>
>
> > It works for entidade why does not result for body (type : text) ???
>
> > Any ideias how?
>
> > thanks
--~--~---------~--~----~------------~-------~--~----~
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