1. Improved admin -> new project form
2. Fixed bug: post-receive file was not added when create project via admin
This commit is contained in:
parent
f1795a4911
commit
3250a024ef
6 changed files with 20 additions and 8 deletions
|
@ -56,11 +56,11 @@
|
|||
.actions
|
||||
= f.submit 'Save', :class => "btn primary"
|
||||
= link_to 'Cancel', [:admin, @admin_project], :class => "btn"
|
||||
= link_to 'Destroy', [:admin, @admin_project], :confirm => 'Are you sure?', :method => :delete, :class => "btn danger right"
|
||||
- unless @admin_project.new_record?
|
||||
= link_to 'Destroy', [:admin, @admin_project], :confirm => 'Are you sure?', :method => :delete, :class => "btn danger right"
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
taggifyForm();
|
||||
$('#project_owner_id').chosen();
|
||||
$('#project_default_branch').chosen();
|
||||
new Projects();
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue