lib/crosstie/templates/authorization/index.html.slim in crosstie-0.0.6 vs lib/crosstie/templates/authorization/index.html.slim in crosstie-0.0.7
- old
+ new
@@ -12,6 +12,6 @@
= form_for user, url: role_user_path(user), method: :put do |f|
- operation, activation, btn_class = user.has_role?(role) ? \
%w(revoke active btn-success) : %w(grant inactive btn-danger)
= hidden_field_tag :operation, operation
= hidden_field_tag :role, role
- = f.submit activation, class: "btn \#{btn_class}"
+ = f.submit activation, class: "btn #{btn_class}"