Describe the bug
When you add a Project into a Budget and then you try to add an Attachment to this project, the behaviour is erronous.
The field 'File' is not shown as mandatory because it doesn't have an asterisk aside it.
And if you submit without uploading a file the field 'File' stay in black (mandatory fields are set in red) and a generic, not translatable, error message appears on the right, it is not a message saying explicitly that the field is required.
This issue is related to #9771 and to #10367
To Reproduce
Go to 'Participatory Process'
Add a Budget component
Create a Budget and Add a Project to that budget
Click on 'Manage Project'
Click on 'Attachments' icone
Click on 'New Attachment'
Enter a 'Attachment or image name' and a 'Description' but don't upload a File and click on Create attachment
See error
Expected behavior
When you add an attachment to a project the file should be mandatory.
The field 'File' should have an asterisk aside and should appears in red if a user try to create an attachment without uploading a file. Also the error message should be more accurate and translatable with a key in a yml file.
The other mandatory field in this form displays a generic error message just in english if they are not set "can't be blank". A more accurate translatable error message should be create with a key in the yml file.
Screenshots
When you don't set other mandatory field. Mandatory field are displayed in red.

When you set all other mandatory field except the File field:

In other languages when you don't set other mandatory field. Mandatory field are displayed in red but with no error message below the field.

Stacktrace
No response
Extra data
- Device: Desktop
- Device OS: Windows 10
- Browser: Chrome
- Decidim Version: 0.27.2 and try.decidim.org
- Decidim installation:
Additional context
No response
Describe the bug
When you add a Project into a Budget and then you try to add an Attachment to this project, the behaviour is erronous.
The field 'File' is not shown as mandatory because it doesn't have an asterisk aside it.
And if you submit without uploading a file the field 'File' stay in black (mandatory fields are set in red) and a generic, not translatable, error message appears on the right, it is not a message saying explicitly that the field is required.
This issue is related to #9771 and to #10367
To Reproduce
Go to 'Participatory Process'
Add a Budget component
Create a Budget and Add a Project to that budget
Click on 'Manage Project'
Click on 'Attachments' icone
Click on 'New Attachment'
Enter a 'Attachment or image name' and a 'Description' but don't upload a File and click on Create attachment
See error
Expected behavior
When you add an attachment to a project the file should be mandatory.
The field 'File' should have an asterisk aside and should appears in red if a user try to create an attachment without uploading a file. Also the error message should be more accurate and translatable with a key in a yml file.
The other mandatory field in this form displays a generic error message just in english if they are not set "can't be blank". A more accurate translatable error message should be create with a key in the yml file.
Screenshots
When you don't set other mandatory field. Mandatory field are displayed in red.

When you set all other mandatory field except the File field:

In other languages when you don't set other mandatory field. Mandatory field are displayed in red but with no error message below the field.

Stacktrace
No response
Extra data
Additional context
No response