%- model_class = Comment -%>
- <%= model_class.human_attribute_name(:article_id) %>:
- <%= @comment.article_id %>
- <%= model_class.human_attribute_name(:title) %>:
- <%= @comment.title %>
- <%= model_class.human_attribute_name(:content) %>:
- <%= @comment.content %>
- <%= model_class.human_attribute_name(:rate) %>:
- <%= @comment.rate %>
- <%= model_class.human_attribute_name(:created_by) %>:
- <%= @comment.created_by %>
- <%= model_class.human_attribute_name(:updated_by) %>:
- <%= @comment.updated_by %>
<%= link_to t('.back', :default => t("helpers.links.back")),
comments_path, :class => 'btn btn-default' %>
<%= link_to t('.edit', :default => t("helpers.links.edit")),
edit_comment_path(@comment), :class => 'btn btn-default' %>
<%= link_to t('.destroy', :default => t("helpers.links.destroy")),
comment_path(@comment),
:method => 'delete',
:data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
:class => 'btn btn-danger' %>