AlchemyCMS/alchemy_cms

View on GitHub
app/views/alchemy/admin/ingredients/_dom_id_fields.html.erb

Summary

Maintainability
Test Coverage
<% disabled = ingredient.settings[:anchor].to_s != "true" %>
<%= f.input :dom_id,
  disabled: disabled,
  hint: disabled && Alchemy.t(:automatic_anchor_notice) %>