##// END OF EJS Templates
Fixed 'export to' links positioning on wiki page....
Fixed 'export to' links positioning on wiki page. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1023 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r714:21c97c6a1376
r1010:3ff95e403134
Show More
_repository.rhtml
20 lines | 810 B | text/html+ruby | RhtmlLexer
<% remote_form_for :repository, @repository,
:url => { :controller => 'repositories', :action => 'edit', :id => @project },
:builder => TabularFormBuilder do |f| %>
<%= error_messages_for 'repository' %>
<div class="box tabular">
<p><label>SCM</label><%= scm_select_tag(@repository) %></p>
<%= repository_field_tags(f, @repository) if @repository %>
</div>
<div class="contextual">
<%= link_to(l(:button_delete), {:controller => 'repositories', :action => 'destroy', :id => @project},
:confirm => l(:text_are_you_sure),
:method => :post,
:class => 'icon icon-del') if @repository && !@repository.new_record? %>
</div>
<%= submit_tag((@repository.nil? || @repository.new_record?) ? l(:button_create) : l(:button_save)) %>
<% end %>