Sha256: 55c154ad2eda991d21ab2500cf52be337c8f9cbf81532d10f0d34e65dfe5068e

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 Bytes

Contents

<% yield %>

<%
stimulus_controller = 'fields--password'

form ||= current_fields_form
options ||= {}

if options[:show_strength_indicator]
  options = options.merge({ data: {"action": "keyup->fields--password#estimateStrength" }})
end

other_options ||= {}
%>

<div data-controller="<%= stimulus_controller %>">
  <%= render 'shared/fields/field', form: form, method: method, helper: :password_field, options: options, other_options: other_options %>
  <% if options[:show_strength_indicator] %>
    <div data-<%= stimulus_controller %>-target="strengthIndicator" class="hidden"></div>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bullet_train-themes-1.0.10 app/views/themes/base/fields/_password_field.html.erb