app/views/admin/achievements/show.html.haml
- model_class = Achievement
.page-header
%h1=t '.title', :default => model_class.model_name.human.titleize
%p
%strong= model_class.human_attribute_name(:score) + ':'
%br
= @achievement.score
%p
%strong= model_class.human_attribute_name(:topic_id) + ':'
%br
= @achievement.topic_id
.form-actions
= link_to t('.back', :default => t("helpers.links.back")), admin_achievements_path, :class => 'btn'
= link_to t('.edit', :default => t("helpers.links.edit")), edit_admin_achievement_path(@achievement), :class => 'btn'
= link_to t('.destroy', :default => t("helpers.links.destroy")), admin_achievement_path(@achievement), :method => "delete", :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-danger'