mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-11 03:38:51 +01:00
Fixes #441 - Updating a project on the project listing page does not hide edit form
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@443 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
1f09c41f95
commit
b7dc28842f
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
|||
<table style="table-layout: fixed;" width="450">
|
||||
<%= render :partial => 'project_form', :object => project %>
|
||||
<tr>
|
||||
<td width="150"> <input type="hidden" name="wants_render" value="false" /></td>
|
||||
<td width="150"> <input type="hidden" name="wants_render" value="true" /></td>
|
||||
<td width="300"><input type="submit" value="Update" /> <a href="javascript:void(0);" onclick="Element.toggle('<%= dom_id(project) %>'); Element.toggle('<%= dom_id(project, 'edit') %>');Form.reset('<%= dom_id(project, 'edit_form') %>');">Cancel</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue