Fix form id

This commit is contained in:
slawkens 2024-04-14 15:59:23 +02:00
parent d95e280b9a
commit d225c2da26
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ describe('Create Account Page', () => {
cy.get('#vocation1').check() cy.get('#vocation1').check()
cy.get('#accept_rules').check() cy.get('#accept_rules').check()
cy.get('#createaccount').submit() cy.get('#form').submit()
// no errors please // no errors please
cy.contains('The Following Errors Have Occurred:').should('not.exist') cy.contains('The Following Errors Have Occurred:').should('not.exist')

View File

@ -297,7 +297,7 @@
<table border="0" cellspacing="0" cellpadding="0" > <table border="0" cellspacing="0" cellpadding="0" >
<tr> <tr>
<td style="border:0px;" > <td style="border:0px;" >
<form id="form" action="{{ getLink('account/create') }}" method="post" id="createaccount"> <form id="form" action="{{ getLink('account/create') }}" method="post">
{{ csrf() }} {{ csrf() }}
<input type="hidden" name="save" value="1" > <input type="hidden" name="save" value="1" >
{{ include('buttons.submit.html.twig') }} {{ include('buttons.submit.html.twig') }}