| ... | @@ -42,9 +42,6 @@ |
... | @@ -42,9 +42,6 @@ |
|
|
%td= f.text_area :description, :placeholder => "project description", :style => "height:50px"
|
|
%td= f.text_area :description, :placeholder => "project description", :style => "height:50px"
|
|
|
|
|
|
|
|
%br
|
|
%br
|
|
|
.actions
|
|
|
|
|
= f.submit :class => "button"
|
|
|
|
|
|
|
|
|
|
%div{ :class => "ajax_loader", :style => "display:none;height:200px;"}
|
|
%div{ :class => "ajax_loader", :style => "display:none;height:200px;"}
|
|
|
%center
|
|
%center
|
|
|
= image_tag "ajax-loader.gif", :class => "append-bottom"
|
|
= image_tag "ajax-loader.gif", :class => "append-bottom"
|
| ... | @@ -53,6 +50,14 @@ |
... | @@ -53,6 +50,14 @@ |
|
|
- else
|
|
- else
|
|
|
%h3.prepend-top Updating project & repository. Please wait for few minutes
|
|
%h3.prepend-top Updating project & repository. Please wait for few minutes
|
|
|
|
|
|
|
|
|
.merge-tabs
|
|
|
|
= f.submit 'Save', :class => "grey-button"
|
|
|
|
|
|
|
|
- unless @project.new_record?
|
|
|
|
.right
|
|
|
|
= link_to 'Remove', @project, :confirm => 'Are you sure?', :method => :delete, :class => "red-button"
|
|
|
|
|
|
|
|
|
|
|
:javascript
|
|
:javascript
|
|
|
$('.new_project, .edit_project').bind('ajax:before', function() {
|
|
$('.new_project, .edit_project').bind('ajax:before', function() {
|
|
|
$(this).find(".form_content").hide();
|
|
$(this).find(".form_content").hide();
|
| ... | |
... | |
| ... | | ... | |