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.2.7 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.2.6 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.2.5 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.2.4 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.2.3 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.2.2 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.2.1 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.2.0 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.24 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.23 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.22 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.21 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.20 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.17 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.16 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.15 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.14 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.13 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.12 app/views/themes/base/attributes/_html.html.erb
bullet_train-themes-1.0.11 app/views/themes/base/attributes/_html.html.erb