This does the same thing:

<index-page >
  <collection: replace>
    <div>
      <table-plus fields="occurred_on, this">
        <controls:>
          <edit-link:/>
        </controls:>
      </table-plus>
    </div>
  </collection:>
</index-page>

Does anyone know how to just show the edit link?
On Jan 22, 11:29 pm, Henry H <[email protected]> wrote:
> Actually I find an old post by Matt and here's how you do it using
> table-plus in the index.dryml file:
>
> <index-page >
>   <collection: replace>
>     <div>
>       <table-plus fields="occurred_on, this">
>         <controls:>
>           <param-content for="controls" />
>         </controls:>
>       </table-plus>
>     </div>
>   </collection:>
> </index-page>
>
> This will show both an edit and remove button right on the index
> view.  Again, no changes were necessary on the controller or model to
> make this happen...
> On Jan 22, 1:04 pm, Henry H <[email protected]> wrote:
>
>
>
>
>
>
>
> > I'm running Hobo 1.0.2.  That note is also in the latest version of
> > Rapid Rails that has been edited for Rails 3.
>
> > On Jan 22, 12:15 pm, Owen Dall <[email protected]> wrote:
>
> > > Henry,
>
> > > Which version of Hobo are you using?  This was originally written as Hobo
> > > 1.0 was being finallzed, and we might need to check this again.
>
> > > Thanks,
>
> > > -Owen
>
> > > On Sat, Jan 22, 2011 at 11:57 AM, Henry H <[email protected]> wrote:
> > > > After following the tutorial section on controllers I came across this
> > > > statement:
>
> > > > Note: When removing the :new action, this actually adds a 'New'
> > > > facility below the list of Recipes. When you remove the :show action,
> > > > Hobo places an 'Edit' link against each listed item.
>
> > > > When I add all_actions :all, :except => :show, I do not get an edit
> > > > button next to each listed item.  Am I doing something wrong?
>
> > > > --
> > > > 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%2Bunsubscribe@googlegroups
> > > >  .com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/hobousers?hl=en.
>
> > > --
>
> > > - Owen
>
> > > Owen Dall, Chief Systems Architect
> > > Barquin Internationalwww.barquin.com
> > > Cell: 410-991-0811

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