|
@@ -6,7 +6,7 @@
|
|
|
|
|
|
<class name="Symfony\Component\Form\Field">
|
|
<class name="Symfony\Component\Form\Field">
|
|
<getter property="transformationSuccessful">
|
|
<getter property="transformationSuccessful">
|
|
- <constraint name="AssertTrue">
|
|
|
|
|
|
+ <constraint name="True">
|
|
<option name="message">This value is invalid</option>
|
|
<option name="message">This value is invalid</option>
|
|
</constraint>
|
|
</constraint>
|
|
</getter>
|
|
</getter>
|
|
@@ -18,17 +18,17 @@
|
|
<constraint name="Valid" />
|
|
<constraint name="Valid" />
|
|
</property>
|
|
</property>
|
|
<getter property="submittedWithExtraFields">
|
|
<getter property="submittedWithExtraFields">
|
|
- <constraint name="AssertFalse">
|
|
|
|
|
|
+ <constraint name="False">
|
|
<option name="message">This form should not contain extra fields</option>
|
|
<option name="message">This form should not contain extra fields</option>
|
|
</constraint>
|
|
</constraint>
|
|
</getter>
|
|
</getter>
|
|
<getter property="postMaxSizeReached">
|
|
<getter property="postMaxSizeReached">
|
|
- <constraint name="AssertFalse">
|
|
|
|
|
|
+ <constraint name="False">
|
|
<option name="message">The uploaded file was too large. Please try to upload a smaller file</option>
|
|
<option name="message">The uploaded file was too large. Please try to upload a smaller file</option>
|
|
</constraint>
|
|
</constraint>
|
|
</getter>
|
|
</getter>
|
|
<getter property="csrfTokenValid">
|
|
<getter property="csrfTokenValid">
|
|
- <constraint name="AssertTrue">
|
|
|
|
|
|
+ <constraint name="False">
|
|
<option name="message">The CSRF token is invalid. Please try to resubmit the form</option>
|
|
<option name="message">The CSRF token is invalid. Please try to resubmit the form</option>
|
|
</constraint>
|
|
</constraint>
|
|
</getter>
|
|
</getter>
|