20 lines
728 B
Plaintext
20 lines
728 B
Plaintext
%tr#stat_line_row{:id => stat_line.id}
|
|
-tr = {}
|
|
|
|
-tr[:price_document_number] = capture do
|
|
%td
|
|
=link_to stat_line.price_document_number, admin_price_document_path(:id => stat_line.price_document_id) if stat_line.price_document_id
|
|
|
|
-tr[:actions] = capture do
|
|
%td.actions
|
|
= link_to i(:"trash-o"), [:admin, stat_line], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet enregistrement ? ' } , :remote => true
|
|
= link_to i(:pencil), edit_admin_stat_line_path(stat_line), :remote => true
|
|
= link_to i(:eye), admin_stat_line_path(stat_line), :remote => true
|
|
|
|
|
|
|
|
=render :partial => "qi/qi_ordered_table_object", :locals => {:tr => tr, :object => stat_line}
|
|
|
|
|
|
|
|
|