app/views/hyrax/admin/features/index.html.erb in hyrax-2.1.0.beta1 vs app/views/hyrax/admin/features/index.html.erb in hyrax-2.1.0.beta2
- old
+ new
@@ -42,17 +42,15 @@
<%= form_tag(hyrax.admin_feature_strategy_path(feature.key, strategy.key), method: :put) do -%>
<div class="btn-group">
<%= submit_tag "on",
type: "submit",
class: Flipflop.enabled?(feature.name.to_sym) ? 'active' : nil,
- disabled: !strategy.switchable?
- -%>
+ disabled: !strategy.switchable? -%>
<%= submit_tag "off",
type: "submit",
class: Flipflop.enabled?(feature.name.to_sym) ? nil : 'active',
- disabled: !strategy.switchable?
- -%>
+ disabled: !strategy.switchable? -%>
</div>
<% end -%>
</div>
</td>
<% end -%>