Skip to content

Commit

Permalink
Fixed checked_password error_class display
Browse files Browse the repository at this point in the history
  • Loading branch information
trollfot committed Nov 22, 2023
1 parent 5bd7781 commit 696a303
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deform/templates/checked_password.pt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<input type="password"
name="${name}"
value="${field.widget.redisplay and cstruct or ''}"
tal:attributes="class string: form-control ${css_class or ''};
style style;
tal:attributes="style style;
class string:form-control ${field.error and error_class or css_class};
autofocus autofocus;
required field.required and 'required' or None;
attributes|field.widget.attributes|{};"
Expand All @@ -23,8 +23,8 @@
<input type="password"
name="${name}-confirm"
value="${field.widget.redisplay and confirm or ''}"
tal:attributes="class string: form-control ${css_class or ''};
style style;
tal:attributes="style style;
class string:form-control ${field.error and error_class or css_class};
required field.required and 'required' or None;
confirm_attributes|field.widget.confirm_attributes|{};"
id="${oid}-confirm"
Expand Down

0 comments on commit 696a303

Please sign in to comment.