[PATCH aeolus-conductor] BZ#788863 Removed Sort links on New HWP Page

Maros Zatko mzatko at redhat.com
Mon Feb 13 15:34:31 UTC 2012


On 02/13/2012 03:17 PM, mtaylor at redhat.com wrote:
> From: Martyn Taylor<mtaylor at redhat.com>
>
> ---
>   src/app/views/hardware_profiles/_form.html.haml |    6 +++++-
>   1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/src/app/views/hardware_profiles/_form.html.haml b/src/app/views/hardware_profiles/_form.html.haml
> index d1cffb2..0a0fed8 100644
> --- a/src/app/views/hardware_profiles/_form.html.haml
> +++ b/src/app/views/hardware_profiles/_form.html.haml
> @@ -3,7 +3,11 @@
>   = hwp_form.label :name, t('hardware_profiles.form.name')
>   = hwp_form.text_field :name
>   %table
> -  = sortable_table_header @header
> +  %thead
> +    %tr
> +      - @header.each do |header|
> +        %th
> +          = header[:name]
>     - [:memory, :cpu, :storage, :architecture].each do |type|
>       = hwp_form.fields_for type do |hwpp_form|
>         %tr
ack



More information about the aeolus-devel mailing list