[issue #279] Fixed bug with connection info.

This commit is contained in:
George Vinogradov 2012-03-27 20:51:34 +04:00
parent c327ca8d61
commit 385e35493f
1 changed files with 30 additions and 28 deletions

View File

@ -1,7 +1,9 @@
- platforms = Platform.main.open.where(:distrib_type => APP_CONFIG['distr_types'].first).order('name ASC')
- if platforms.count > 0
.command_select
%h3= t("layout.platforms.sys_repos_header")
- platforms = Platform.main.open.where(:distrib_type => APP_CONFIG['distr_types'].first).order('name ASC')
.leftlist= label_tag :platform, t("layout.platforms.target_platform")
.rightlist= select_tag :platform, options_from_collection_for_select(platforms, :name, :name, platforms.first.id)
.both