@@ -12,13 +12,20 | |||
|
12 | 12 | |
|
13 | 13 | <div class="contextual"> |
|
14 | 14 | <% if @repository && !@repository.new_record? %> |
|
15 | <%= link_to(l(:label_user_plural), {:controller => 'repositories', :action => 'committers', :id => @project}, :class => 'icon icon-user') %> | |
|
15 | <%= link_to(l(:label_user_plural), | |
|
16 | { | |
|
17 | :controller => 'repositories', | |
|
18 | :action => 'committers', | |
|
19 | :id => @project | |
|
20 | }, | |
|
21 | :class => 'icon icon-user') %> | |
|
16 | 22 | <%= link_to(l(:button_delete), {:controller => 'repositories', :action => 'destroy', :id => @project}, |
|
17 | 23 | :confirm => l(:text_are_you_sure), |
|
18 | :method => :post, | |
|
19 | :class => 'icon icon-del') %> | |
|
24 | :method => :post, | |
|
25 | :class => 'icon icon-del') %> | |
|
20 | 26 | <% end %> |
|
21 | 27 | </div> |
|
22 | 28 | |
|
23 |
<%= submit_tag((@repository.nil? || @repository.new_record?) ? l(:button_create) : l(:button_save), |
|
|
29 | <%= submit_tag((@repository.nil? || @repository.new_record?) ? l(:button_create) : l(:button_save), | |
|
30 | :disabled => @repository.nil?) %> | |
|
24 | 31 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now