Implement #466 (It would be better if the form to create the new context/project is visible by default in the context/project section instead of having to click on the 'Create a new....' Will save one click and don't think it will clutter the page much!). Thanks to SK for the idea.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@521 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2007-04-02 05:39:11 +00:00
parent c89d8f0012
commit 07f790a545
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
<div id="input_box">
<a id="toggle-new-context-form" href="#" accesskey="n" title="Create a new context">Create new context &#187;</a>
<div id="context_new" class="context_new" style="display:none">
<div id="context_new" class="context_new" style="display:block">
<% form_remote_tag :url => contexts_path, :method => :post, :html=> { :id => 'context-form', :name => 'context', :class => 'inline-form' } do -%>
<div id="status"><%= error_messages_for('context') %></div>

View file

@ -13,7 +13,7 @@
"Element.toggle('project_new');Form.focusFirstElement('project-form');",
{:title => "Add a next action", :accesskey => "n"}) %>
<div id="project_new" class="project_new" style="display:none">
<div id="project_new" class="project_new" style="display:block">
<% form_remote_tag :url => projects_path, :method => :post,
:html=> { :id=>'project-form', :name=>'project', :class => 'inline-form' } do -%>