%- model_class = Article -%>
- <%= model_class.human_attribute_name(:title) %>:
- <%= @article.title %>
- <%= model_class.human_attribute_name(:content) %>:
- <%= @article.content %>
- <%= model_class.human_attribute_name(:rate) %>:
- <%= @article.rate %>
- <%= model_class.human_attribute_name(:active) %>:
- <%= @article.active %>
- <%= model_class.human_attribute_name(:created_by) %>:
- <%= @article.created_by %>
- <%= model_class.human_attribute_name(:updated_by) %>:
- <%= @article.updated_by %>
<%= link_to t('.back', :default => t("helpers.links.back")),
articles_path, :class => 'btn btn-default' %>
<%= link_to t('.edit', :default => t("helpers.links.edit")),
edit_article_path(@article), :class => 'btn btn-default' %>
<%= link_to t('.destroy', :default => t("helpers.links.destroy")),
article_path(@article),
:method => 'delete',
:data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
:class => 'btn btn-danger' %>