this context will be pre-populated when creating an action from the project's page.
When creating an action from the home page, the context will be auto-selected when
the project is selected if the context field has not yet been entered.
This implementation is a combination of the great patch submitted by James Kebinger
(thanks James!) and some of my modifications and additions.
Don't forget to rake db:migrate.
Fixes#162, originally suggested by Rolf one year ago!
Also in this commit:
* Tweaked selenium tags test
* Tweaked formatting of next/previous project HTML
* Implemented Null Object pattern for context to support
a Project having no default context
* Removed tickler.rhtml, no longer in use
* applying z-index values to project sortable list items (otherwise context
autocomplete was appearing below next list item)
* Swapped order of project and context in new action form (setting default context
makes more sense this way)
* Removed CSS width of for form elements, so form could be used in content area
without being too narrow
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@480 a4c988fc-2ded-0310-b66e-134b36920a42
This change also changes project detail page URLs from /project/my_project to /projects/my_project
Benefits include
* built-in enforcement of proper HTTP methods
* simple named routes (e.g. project_url(project) instead of { :controller => "project", :action => "show", :url_friendly_name => project.url_friendly_name })
* built-in routes for formats like .js and .xml
Also fixed a http basic authentication bug that I introduced a couple of days ago
Add a database index on the users table, login column, to speed authentication
Made more use of simply_helpful dom_id() method and simplified _project_listing.rhtml
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@398 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-12 13:46:45 +00:00
Renamed from tracks/app/views/project/_project_form.rhtml (Browse further)