This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/views/admin/s_inventaires/_s_inventaire.html.haml
2021-11-18 17:47:00 +01:00

18 lines
565 B
Plaintext

%tr#s_inventaire_row{:id => s_inventaire.id}
-tr = {}
-tr[:actions] = capture do
%td.actions
= link_to i(:"trash-o"), [:admin, s_inventaire], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet enregistrement ? ' } , :remote => true
= link_to i(:pencil), edit_admin_s_inventaire_path(s_inventaire), :remote => true
= link_to i(:eye), admin_s_inventaire_path(s_inventaire), :remote => false
=render :partial => "qi/qi_ordered_table_object", :locals => {:tr => tr, :object => s_inventaire}