8 lines
252 B
Text
8 lines
252 B
Text
- if @project.valid?
|
|
:plain
|
|
location.href = "#{edit_project_path(@project)}";
|
|
- else
|
|
:plain
|
|
$('.project_edit_holder').show();
|
|
$(".edit_project").replaceWith("#{escape_javascript(render('form'))}");
|
|
$('.save-project-loader').hide();
|