- content_for :toolbar do = link_to edit_user_profile_path, class: 'btn btn-default' do %i.icon-pencil = t('action_button.edit') .panel.panel-default .panel-heading %i.icon-edit.icon-large = t('tt.show', resource_name: user.model_name.human) .panel-body = show_for @profile do |s| = s.attribute :name = s.attribute :surname = s.attribute :email = s.attribute :created_at = s.attribute :updated_at