Skip to content

Commit

Permalink
[BUGFIX] Pass proper object name to form error partial
Browse files Browse the repository at this point in the history
Co-authored-by: Pierrick Caillon <pcaillon@plan-net.fr>
  • Loading branch information
2 people authored and sbusemann committed May 27, 2024
1 parent 42904ac commit 763775e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Edit/ConfirmUpdateRequest.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

<f:section name="main">
<f:render partial="Misc/FlashMessages" arguments="{_all}" />
<f:render partial="Misc/FormErrors" arguments="{object:User}" />
<f:render partial="Misc/FormErrors" arguments="{object: 'user'}" />
</f:section>
</div>
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Edit/Edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<f:section name="main">
<f:render partial="Misc/FlashMessages" arguments="{_all}" />
<f:render partial="Misc/FormErrors" arguments="{object:User}" />
<f:render partial="Misc/FormErrors" arguments="{object: 'user'}" />

<div class="femanager_edit">
<f:if condition="{user}">
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Invitation/Edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<f:section name="main">
<f:render partial="Misc/FlashMessages" arguments="{_all}"/>
<f:render partial="Misc/FormErrors" arguments="{object:User}"/>
<f:render partial="Misc/FormErrors" arguments="{object: 'user'}"/>

<div class="femanager_invitation_edit">
<f:if condition="{user}">
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Invitation/New.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<f:section name="main">
<f:render partial="Misc/FlashMessages" arguments="{_all}" />
<f:render partial="Misc/FormErrors" arguments="{object:User}" />
<f:render partial="Misc/FormErrors" arguments="{object: 'user'}" />

<div class="femanager_invitation_new">
<f:form
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/New/New.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<f:section name="main">
<f:render partial="Misc/FlashMessages" arguments="{_all}" />
<f:render partial="Misc/FormErrors" arguments="{object:User}" />
<f:render partial="Misc/FormErrors" arguments="{object: 'user'}" />
<f:render partial="Misc/ResendConfirmation" arguments="{_all}" />
<div class="femanager_new">
<f:form
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<f:section name="main">
<f:render partial="Misc/FlashMessages" arguments="{_all}"/>
<f:render partial="Misc/FormErrors" arguments="{object:User}"/>
<f:render partial="Misc/FormErrors" arguments="{object: 'user'}"/>
<div class="femanager_new">
<h3>
<f:translate key="resendConfirmationMailTitle">Resend confirmation mail</f:translate>
Expand Down

0 comments on commit 763775e

Please sign in to comment.