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