v1.0
This commit is contained in:
parent
0f43e98ef8
commit
d378468794
317 changed files with 11347 additions and 0 deletions
6
app/views/projects/create.js.haml
Normal file
6
app/views/projects/create.js.haml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- if @project.valid?
|
||||
:plain
|
||||
location.href = "#{project_path(@project, :notice => 'Project was successfully created.')}";
|
||||
- else
|
||||
:plain
|
||||
$("#new_project").replaceWith("#{escape_javascript(render('form'))}");
|
Loading…
Add table
Add a link
Reference in a new issue