Skip to content

Commit 97fe95f

Browse files
committed
-
1 parent 9377b39 commit 97fe95f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/TogglePassword/doc/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ shown in previous sections:
272272

273273
.. code-block:: html+twig
274274

275-
// ...
275+
{# ... #}
276276

277277
{# add "toggle-password-container" or a class that applies "position: relative" to this container #}
278278
<div class="toggle-password-container">
@@ -282,10 +282,10 @@ shown in previous sections:
282282
name="password"
283283
type="password"
284284
{{ stimulus_controller('symfony/ux-toggle-password/toggle-password', {
285-
# visibleLabel: 'Show password',
286-
# visibleIcon: 'Name of some SVG icon',
287-
# hiddenLabel: 'Hide password',
288-
# hiddenIcon: 'Name of some SVG icon',
285+
visibleLabel: 'Show password',
286+
visibleIcon: 'Name of some SVG icon',
287+
hiddenLabel: 'Hide password',
288+
hiddenIcon: 'Name of some SVG icon',
289289
# you can add your own CSS classes if needed, but the following
290290
# CSS class is required to activate the default styles
291291
buttonClasses: ['toggle-password-button'],

0 commit comments

Comments
 (0)