21 lines
594 B
Plaintext
21 lines
594 B
Plaintext
%tr#quote_row{:id => quote.id, :class => ("warning" if !quote.enabled)}
|
|
%td
|
|
=quote.quote
|
|
%td=quote.author
|
|
%td{:style => "width:300px;"}
|
|
-quote.tags.order(:name).each do |tag|
|
|
.tag_label=tag.name
|
|
%td="oui" if quote.public_from
|
|
|
|
|
|
|
|
|
|
%td
|
|
= link_to i(:trash), [:admin, quote], :confirm => 'Voulez-vous vraiment supprimer ce quote ?', :method => :delete, :remote => true
|
|
|
|
= link_to i(:pencil), edit_admin_quote_path(quote), :remote => true
|
|
=link_to i(:"level-down"), admin_quote_path(:id => quote.id, :format => "js"), :class => "set_tag"
|
|
|
|
|
|
|
|
|