Skip to content

Instantly share code, notes, and snippets.

.container
.row
.col-md-12
.page-header
%h1
= image_tag(@user.gravatar_url(size: '48'), title: "Yo #{@user.name}!", :alt => '')
= @user.name
%small
= @user.nickname
%p
- content_for :item_title do
= link_to unit.name, unit
= content_for :actions do
= edit_button(unit)
= destroy_button(unit)
= link_to replicate_unit_path(unit), remote: true, class: 'btn btn-default replicate-unit' do
%i.fa.fa-copy
= label_group 'Issues' do
- if unit.alerts?
.tag.tag-danger