9 lines
292 B
Plaintext
9 lines
292 B
Plaintext
- if @project.valid?
|
|
:plain
|
|
location.href = "#{edit_project_path(@project, :notice => 'Project was successfully updated.')}";
|
|
- else
|
|
:plain
|
|
$('.project_edit_holder').show();
|
|
$(".edit_project").replaceWith("#{escape_javascript(render('form'))}");
|
|
$('.ajax_loader').hide();
|