From: Imre Farkas ifarkas@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(@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
On 12/08/2011 05:10 AM, ifarkas@redhat.com wrote:
From: Imre Farkasifarkas@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(@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'
.content .centered %table.light_table= f.submit t('catalog_entries.show.add_catalog'), :id => :add_catalog, :class => 'button pill', :disabled => @catalogs_options.empty?
ACK
aeolus-devel@lists.fedorahosted.org