From: martyntaylor mtaylor@redhat.com
--- src/app/views/users/index.haml | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/app/views/users/index.haml b/src/app/views/users/index.haml index a26900b..df9def1 100644 --- a/src/app/views/users/index.haml +++ b/src/app/views/users/index.haml @@ -29,8 +29,7 @@ -@users.each do |user| %tr %td - - is_first_user = (user == @users.first) - %input{:checked => is_first_user, :name => "user_checkbox", :type => "checkbox", :value => user.id, :id => "user_checkbox_#{user.id}" } + %input{:name => "user_checkbox", :type => "checkbox", :value => user.id, :id => "user_checkbox_#{user.id}" } %td= link_to user.login, {:action => "edit", :id => user.id} %td= user.last_name %td= user.first_name
mtaylor@redhat.com wrote:
From: martyntaylor mtaylor@redhat.com
src/app/views/users/index.haml | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/app/views/users/index.haml b/src/app/views/users/index.haml index a26900b..df9def1 100644 --- a/src/app/views/users/index.haml +++ b/src/app/views/users/index.haml @@ -29,8 +29,7 @@ -@users.each do |user| %tr %td
- is_first_user = (user == @users.first)
%input{:checked => is_first_user, :name => "user_checkbox", :type => "checkbox", :value => user.id, :id => "user_checkbox_#{user.id}" }
%input{:name => "user_checkbox", :type => "checkbox", :value => user.id, :id => "user_checkbox_#{user.id}" } %td= link_to user.login, {:action => "edit", :id => user.id} %td= user.last_name %td= user.first_name
ACK to this one too
Scott
deltacloud-devel@lists.fedorahosted.org