4 lines
272 B
Text
4 lines
272 B
Text
|
<%= render_to_element('#complexity-label', partial: 'label', outer: true) %>
|
||
|
<%= render_to_element('#complexity-bar', partial: 'bar', outer: true) %>
|
||
|
<%= raw("document.querySelector('#submit-password').disabled = #{@score < @min_complexity || @length < @min_length};") %>
|