[refs #893] move regenerate button to right

This commit is contained in:
Alexander Machehin 2013-02-14 00:01:48 +06:00
parent 2e1a297f83
commit 01bbb7d602
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@
.hr
- if ['edit', 'update'].include?(controller.action_name) && can?(:regenerate_metadata, @repository)
.leftlist= t('layout.repositories.regenerate_metadata')
.rightlist
.leftside= t('layout.repositories.regenerate_metadata')
.rightside
= link_to t('layout.repositories.regenerate_metadata').split.first, regenerate_metadata_platform_repository_path(@platform, @repository),
:method => :put, :confirm => t('layout.confirm'), :class => :button
.hr{:style => 'padding-bottom:20px;'}