mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-23 09:16:10 +01:00
migrate editing project settings from project page from jrails to jquery
This commit is contained in:
parent
c834403340
commit
6416ff112e
8 changed files with 884 additions and 66 deletions
|
|
@ -2,7 +2,11 @@
|
|||
project = project_form
|
||||
%>
|
||||
|
||||
<%# form_remote_tag(:url => project_path(project), :html => { :id => dom_id(project, 'edit_form'), :class => "inline-form "+dom_id(project, 'edit_form')+"-edit-project-form", :method => :put }) do -%>
|
||||
<% form_for(project, :html => {
|
||||
:id => dom_id(project, 'edit_form'),
|
||||
:class => "inline-form edit-project-form",
|
||||
:method => :put }) do
|
||||
-%>
|
||||
<div id="error_status"><%= error_messages_for("project") %></div>
|
||||
<%= source_view_tag( @source_view ) -%>
|
||||
|
||||
|
|
@ -39,6 +43,6 @@ project = project_form
|
|||
</div>
|
||||
</div>
|
||||
<br/><br/>
|
||||
|
||||
<%# end -%>
|
||||
|
||||
<%
|
||||
end
|
||||
-%>
|
||||
Loading…
Add table
Add a link
Reference in a new issue