Sha256: 6a8b9b327f19c402653de1b5513109daec94f6d33443291da891a6497a837843
Contents?: true
Size: 681 Bytes
Versions: 1
Compression:
Stored size: 681 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <% default_message = local_assigns[:default_message] || t("global.not_set") %> <% display_when_blank = local_assigns[:display_when_blank] || false %> <% if !object[attribute].nil? || display_when_blank %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %> <% unless object[attribute].nil? %> <%= t("#{object.class.name.underscore.pluralize}.fields.#{attribute}.options.#{object.public_send(attribute)}") %> <% else %> <%= default_message %> <% end %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bullet_train-themes-1.10.0 | app/views/themes/base/attributes/_boolean.html.erb |