retrospring/app/views/user/_modal_privileges_item.html.haml

9 lines
450 B
Text
Raw Normal View History

2015-02-03 17:13:50 +01:00
- description ||= ''
%li.list-group-item{id: "privilege-#{privilege}"}
.media
.pull-left.j2-table
%input.input--center{type: :checkbox, name: 'check-your-privileges', data: { type: privilege, user: user.screen_name }, checked: user.send("#{privilege}?"), autocomplete: 'off'}
.media-body
.list-group-item-heading= privilege.capitalize
- unless description.blank?
.list-group-item-text.text-muted.j2-up= description