Sha256: c66dc25e584dd409e1cf02bf6e04285639c29876689b89e5c0c017af3ea3ef83

Contents?: true

Size: 407 Bytes

Versions: 9

Compression:

Stored size: 407 Bytes

Contents

<% label = local_assigns[:label].presence %>
<% html_options = {class: 'input_string fullwidth'}.merge(local_assigns[:html_options] || {}) %>

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

Version data entries

9 entries across 9 versions & 2 rubygems

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