<% 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 ||= {} %>
<%= render 'shared/fields/field', form: form, method: method, helper: :password_field, options: options, other_options: other_options %> <% if options[:show_strength_indicator] %>
-target="strengthIndicator" class="hidden">
<% end %>