Sha256: eab3b93a2d638d4165846c0622ff3b8d538399ae4391ea7e5814e0eaff002002

Contents?: true

Size: 402 Bytes

Versions: 43

Compression:

Stored size: 402 Bytes

Contents

<% object ||= current_attributes_object %>
<% strategy ||= current_attributes_strategy || :none %>
<% url ||= nil %>

<% if object.send(attribute).present? %>
  <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %>
    <% # `.to_s` is for action text. %>
    <%= html_sanitize(object.send(attribute).to_s).html_safe %>
  <% end %>
<% end %>

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
bullet_train-themes-1.0.10 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.9 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.8 app/views/themes/base/attributes/_html.html.erb