Sha256: 8727b6bf4b753c371add3260cc4739440ec807e15181c3dfab535d243ec5d86e
Contents?: true
Size: 754 Bytes
Versions: 8
Compression:
Stored size: 754 Bytes
Contents
%table.abilities.table.table-bordered{ html_options } - for feature in features %tr{ id: feature.name + '_ability'} %th= feature.title %td - case feature.setting_type - when 'boolean' - if can? :use, feature.name.to_sym = icon 'ok' - else = icon 'remove' - when 'table_rows' - if can? :own, feature.feature_model = icon 'ok' - else = icon 'remove' - if current_user.table_rows_unlimited?(feature.name) = :unlimited.l - else = :x_of_y_remaining.l x: current_user.table_rows_remaining(feature.name), y: current_user.table_rows_allowed(feature.name) - else = :error.l
Version data entries
8 entries across 8 versions & 1 rubygems