Hi,
this is my solution (edit and delete):
in frontends/default/views/_show.html.erb add this:
<%= link_to as_(:edit), { :action => 'edit'}, :class => 'cancel' %>
<%= link_to as_(:delete), { :action => 'delete', :method
=> :delete}, :class => 'cancel' %>
greetz
Klaus
On Wed, 12 May 2010 23:19:59 +0200
Iñaki Baz Castillo <[email protected]> wrote:
> Hi, I manage a model with lot of fields so the 'list' view just
> display a few of them. In order to inspect all the fields I press
> "show".
> Then it's being very common the fact that I must modify the entry
> after showing it. For that I need to close the show view and press
> "edit".
>
> So I suggest to add a "edit" button/link into the 'show' view. Does it
> make sense?
>
> Regards.
>
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.