replace tabs to spaces and code cleanup at app/views/repositories/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11633 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
544bbba046
commit
3749e4eb98
@ -9,15 +9,19 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><%= f.check_box :is_default, :label => :field_repository_is_default %></p>
|
<p><%= f.check_box :is_default, :label => :field_repository_is_default %></p>
|
||||||
<p><%= f.text_field :identifier, :disabled => @repository.identifier_frozen? %>
|
<p>
|
||||||
|
<%= f.text_field :identifier, :disabled => @repository.identifier_frozen? %>
|
||||||
<% unless @repository.identifier_frozen? %>
|
<% unless @repository.identifier_frozen? %>
|
||||||
<em class="info"><%= l(:text_length_between, :min => 1, :max => Repository::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_repository_identifier_info).html_safe %></em>
|
<em class="info">
|
||||||
<% end %></p>
|
<%= l(:text_length_between, :min => 1, :max => Repository::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_repository_identifier_info).html_safe %>
|
||||||
|
</em>
|
||||||
|
<% end %>
|
||||||
|
</p>
|
||||||
|
|
||||||
<% button_disabled = true %>
|
<% button_disabled = true %>
|
||||||
<% if @repository %>
|
<% if @repository %>
|
||||||
<% button_disabled = ! @repository.class.scm_available %>
|
<% button_disabled = ! @repository.class.scm_available %>
|
||||||
<%= repository_field_tags(f, @repository)%>
|
<%= repository_field_tags(f, @repository) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user