init commit
This commit is contained in:
parent
93efff9452
commit
9ba1224867
307 changed files with 11053 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