
- clazz = teacher_clazz.clazz

%li
  %div.class_list_element
    %table
      %tr
        %td.class_list_element_container
          %table{:cellpadding => "0", :cellspacing => "0", :border => "0"}
            %tr
              %td{:style=>"width:50px;"}
                %input{:type => "checkbox", :id => "teacher_clazz[#{teacher_clazz.id}]", :name => "teacher_clazz[]", :value => teacher_clazz.id, :checked => active_selected}
                %input{:type => "hidden", :id => "teacher_clazz_position[#{teacher_clazz.id}]", :name => "teacher_clazz_position[]", :value => teacher_clazz.id}
              %td{:style=>"width:350px;"}
                - clazz_name = (clazz.name.length > 20)? clazz.name[0,20]+"..." : clazz.name
                %label{:for => "teacher_clazz[#{teacher_clazz.id}]", :title=> clazz.name} #{clazz_name}
              %td
                %a{ :id => "message",:href => "javascript:void(0)", :onclick => "showCopyClassPopup(#{clazz.id}, \"#{url_encode clazz.name}\", \"#{url_encode clazz.class_word}\", \"#{url_encode teacher_clazz.clazz.description}\")" } Copy Class
              


- clazz = teacher_clazz.clazz

%li
  %div.class_list_element
    %table
      %tr
        %td.class_list_element_container
          %table{:cellpadding => "0", :cellspacing => "0", :border => "0"}
            %tr
              %td{:style=>"width:50px;"}
                %input{:type => "checkbox", :id => "teacher_clazz[#{teacher_clazz.id}]", :name => "teacher_clazz[]", :value => teacher_clazz.id, :checked => active_selected}
                %input{:type => "hidden", :id => "teacher_clazz_position[#{teacher_clazz.id}]", :name => "teacher_clazz_position[]", :value => teacher_clazz.id}
              %td{:style=>"width:350px;"}
                %label{:for => "teacher_clazz[#{teacher_clazz.id}]", :title=> clazz.name} #{clazz.name.truncate(20)}
              %td
                %a{ :id => "message",:href => "javascript:void(0)", :onclick => "showCopyClassPopup(#{clazz.id}, \"#{url_encode clazz.name}\", \"#{url_encode clazz.class_word}\", \"#{url_encode teacher_clazz.clazz.description}\")" } Copy Class
              

Update as per Noah's suggestion.
Update as per Noah's suggestion.

- GIT comment:
  https://github.com/zeuslearning/rigse/commit/3ef5b8dfbac0b90cea9bd7a81ca5e71976165e73#commitcomment-1448937
