17 lines
615 B
Plaintext
17 lines
615 B
Plaintext
%tr#mail_hist_row{:id => mail_hist.id}
|
|
-tr = {}
|
|
|
|
-tr[:mail_type] = capture do
|
|
%td
|
|
=mail_hist.mail_type.slug if mail_hist.mail_type
|
|
|
|
-tr[:actions] = capture do
|
|
%td.actions
|
|
= link_to i(:"trash-o"), [:admin, mail_hist], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet enregistrement ? ' } , :remote => true
|
|
= link_to i(:pencil), edit_admin_mail_hist_path(mail_hist), :remote => true
|
|
= link_to i(:eye), admin_mail_hist_path(mail_hist), :remote => false
|
|
|
|
|
|
|
|
|
|
=render :partial => "qi/qi_ordered_table_object", :locals => {:tr => tr, :object => mail_hist} |