socialforge/app/views/repositories/to_gitlab.html.erb

12 lines
386 B
Plaintext

<div class="repository-update-dec">
<p class="c_orange">
<%= l(:label_repository_migrate_dec) %>
</p>
<%= form_for(@repository, url: to_gitlab_project_repository_path(@project, @repository)) do |f| %>
<input type="text" name="repo_name"/>
<button type="submit">转换到新版本</button>
<% end %>
<span class="c_grey">
<%= l(:label_repository_name_dec) %>
</span>
</div>