##// END OF EJS Templates
Moved the "Main repository" checkbox before the identifier (#779)....
Jean-Philippe Lang -
r8548:0c6830f8e0c8
parent child
Show More
@@ -1,25 +1,25
1 1 <%= error_messages_for 'repository' %>
2 2
3 3 <div class="box tabular">
4 4 <p>
5 5 <%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>
6 6 <% if @repository && ! @repository.class.scm_available %>
7 7 <br />
8 8 <em><%= content_tag 'span', l(:text_scm_command_not_available), :class => 'error' %></em>
9 9 <% end %>
10 10 </p>
11 11
12 <p><%= f.text_field :identifier %></p>
13 12 <p><%= f.check_box :is_default, :label => :field_repository_is_default %></p>
13 <p><%= f.text_field :identifier %></p>
14 14
15 15 <% button_disabled = true %>
16 16 <% if @repository %>
17 17 <% button_disabled = ! @repository.class.scm_available %>
18 18 <%= repository_field_tags(f, @repository)%>
19 19 <% end %>
20 20 </div>
21 21
22 22 <p>
23 23 <%= submit_tag(@repository.new_record? ? l(:button_create) : l(:button_save), :disabled => button_disabled) %>
24 24 <%= link_to l(:button_cancel), settings_project_path(@project, :tab => 'repositories') %>
25 25 </p> No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now