From: Imre Farkas <ifarkas(a)redhat.com>
https://bugzilla.redhat.com/show_bug.cgi?id=760912
---
src/app/views/deployables/show.html.haml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/views/deployables/show.html.haml
b/src/app/views/deployables/show.html.haml
index 06964b2..f89ac19 100644
--- a/src/app/views/deployables/show.html.haml
+++ b/src/app/views/deployables/show.html.haml
@@ -87,7 +87,7 @@
= f.label :catalog_id, t('catalog_entries.show.choose_catalog')
= f.select :catalog_id, options_for_select((a)catalogs_options.map {|c| [c.name,
c.id]})
= f.hidden_field(:deployable_id, :value => @deployable.id)
- = f.submit t('catalog_entries.show.add_catalog'), :id => :add_catalog,
:class => 'button pill'
+ = f.submit t('catalog_entries.show.add_catalog'), :id => :add_catalog,
:class => 'button pill', :disabled => @catalogs_options.empty?
.content
.centered
%table.light_table
--
1.7.6.4