0001-Hide-new-repository-button-when-disabled.patch
app/views/repositories/_form.html.erb | ||
---|---|---|
24 | 24 |
</div> |
25 | 25 | |
26 | 26 |
<p> |
27 |
<%= submit_tag(@repository.new_record? ? l(:button_create) : l(:button_save), :id => 'repository_save', :disabled => button_disabled) %> |
|
28 |
<%= link_to l(:button_cancel), settings_project_path(@project, :tab => 'repositories') %> |
|
27 |
<% unless button_disabled %> |
|
28 |
<%= submit_tag(@repository.new_record? ? l(:button_create) : l(:button_save), :id => 'repository_save', :disabled => button_disabled) %> |
|
29 |
<% end %> |
|
30 |
<%= link_to l(:button_cancel), settings_project_path(@project, :tab => 'repositories') %> |
|
29 | 31 |
</p> |
30 |
- |