23 lines
682 B
Plaintext
23 lines
682 B
Plaintext
%tr#faq_row.faq_row{:id => faq.id, :class => ("warning" if !faq.enabled)}
|
|
|
|
|
|
%td=faq.title
|
|
|
|
%td{:style => "width:300px;"}
|
|
-faq.tags.order(:name).each do |tag|
|
|
.tag_label=tag.name
|
|
|
|
|
|
|
|
%td{:style => "width:140px"}
|
|
= link_to i(:"trash-o"), [:admin, faq], :confirm => 'Voulez-vous vraiment supprimer cet faq ?', :method => :delete, :remote => true
|
|
|
|
= link_to i(:pencil), edit_admin_faq_path(faq), :style => "padding:0px 0px 0px 0px;", :remote => true
|
|
= link_to i(:plus), edit_admin_faq_path(faq), :style => "padding:0px 0px 0px 0px;"
|
|
|
|
=link_to i(:"level-down"), admin_faq_path(:id => faq.id, :format => "js"), :class => "set_tag"
|
|
|
|
|
|
|
|
|