- model_class = BlockList
.page-header
  %h1= t '.title', :default => model_class.model_name.human.titleize
%dl.dl-horizontal
  %dt
    %strong
      = model_class.human_attribute_name(:name)
      \:
  %dd= @block_list.name
= link_to t('.back', :default => t("helpers.links.back")),
  block_lists_path, :class => 'btn btn-default'
= link_to t('.edit', :default => t("helpers.links.edit")),
  edit_block_list_path(@block_list), :class => 'btn btn-default'
= link_to t('.destroy', :default => t("helpers.links.destroy")),
  block_list_path(@block_list),
  :method => 'delete',
  :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
  :class => 'btn btn-danger'

- model_class = BlockList
.page-header
  %h1= t '.title', :default => model_class.model_name.human.titleize
%dl.dl-horizontal
  %dt
    %strong
      = model_class.human_attribute_name(:name)
      \:
  %dd= @block_list.name
= link_to 'Back to Block Lists',
  block_lists_path, :class => 'btn btn-default'

Remove buttons for impossible actions
Remove buttons for impossible actions
