Sha256: 6d62267a85f53fa5ee10e5f43e3dc391434bd6be41afc27c64ade8746b14c733

Contents?: true

Size: 393 Bytes

Versions: 6

Compression:

Stored size: 393 Bytes

Contents

<% label = local_assigns[:label].presence %>
<% html_options = {cols: 85, rows: 15}.update(local_assigns[:html_options] || {}) %>

<div class="form-group">
  <% if local_assigns[:form] %>
    <%= form.label attribute, label %>
    <%= form.text_area attribute, html_options %>
  <% else %>
    <%= label_tag name, label %>
    <%= text_area_tag name, value, html_options %>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
solidus_promotions-4.4.1 lib/views/backend/solidus_promotions/admin/shared/preference_fields/_text.html.erb
solidus_friendly_promotions-1.9.3 app/views/solidus_friendly_promotions/admin/shared/preference_fields/_text.html.erb
solidus_promotions-4.4.0 lib/views/backend/solidus_promotions/admin/shared/preference_fields/_text.html.erb
solidus_friendly_promotions-1.9.2 app/views/solidus_friendly_promotions/admin/shared/preference_fields/_text.html.erb
solidus_friendly_promotions-1.9.1 app/views/solidus_friendly_promotions/admin/shared/preference_fields/_text.html.erb
solidus_friendly_promotions-1.9.0 app/views/solidus_friendly_promotions/admin/shared/preference_fields/_text.html.erb