- model_class = Supplier
.page-header= title :show, @supplier

dl.dl-horizontal.show-list
  dt= model_class.human_attribute_name(:name)
  dd= @supplier.name
  dt= model_class.human_attribute_name(:email)
  dd= @supplier.email
  dt= model_class.human_attribute_name(:encrypted_password)
  dd= @supplier.encrypted_password
  dt= model_class.human_attribute_name(:remember_created_at)
  dd= @supplier.remember_created_at
  dt= model_class.human_attribute_name(:reset_password_token)
  dd= @supplier.reset_password_token
  dt= model_class.human_attribute_name(:reset_password_sent_at)
  dd= @supplier.reset_password_sent_at
  dt= model_class.human_attribute_name(:sign_in_count)
  dd= @supplier.sign_in_count
  dt= model_class.human_attribute_name(:current_sign_in_at)
  dd= @supplier.current_sign_in_at
  dt= model_class.human_attribute_name(:last_sign_in_at)
  dd= @supplier.last_sign_in_at
  dt= model_class.human_attribute_name(:current_sign_in_ip)
  dd= @supplier.current_sign_in_ip
  dt= model_class.human_attribute_name(:last_sign_in_ip)
  dd= @supplier.last_sign_in_ip

.form-actions
  = link_to t("helpers.links.back"), admin_suppliers_path, class: 'btn'
  '
  = link_to t('helpers.links.edit'), [:edit, :admin, @supplier], class: 'btn'
  '
  = link_to t("helpers.links.destroy"), [:admin, @supplier], method: :delete, data: {confirm: are_you_sure? }, class: 'btn btn-danger'
