My rails prooject has a model called "projects"
I'm using active scaffold to display them and http://0.0.0.0:3000/projects
produces a nice active scaffold list of the projects in my db.
I have deleted the show method in projects_controller and when I click
on the "show" link in the active scaffold table of the projects, the
fields for the project appear outside a table. Basicaly like this
Name: cool project1
Owner: Paul
Description: just another cool project
This is not the standard active scaffold table based view and it's
perfect for what I'm doing.
Here's the problem:
I'd like to display each project on it's own page. So when I click the
"Show" link I want to go to a NEW page and only display that one
project.
This is easily done by adding the following to the projects_controller
active_scaffold :project do |config|
config.show.link.page = true
end
BUT the record always displays in table form when I add this line.
Is there any way to make a record display on it's own page AND in the
format
Field: value
Field: value
Field: value
format instead of table format?
Thanks in advance!
Paul
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---