Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion instance/forms/user_registration.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ fields:
label: Last Name
validation:
- rule: presence
error: '{{form.fields.last_name.label}} must be provided'
error: '{{form.fields.last_name.label}} must be provided' # maciek: having a form_builder, preferably renamed to form is
great idea. Defining built in validation as array seems to be semantic issue, as it does not make sense to add multiple errors for
"presence" etc - using hash, as it's currently, seems ok to me. IIRC, the main idea was to allow developer to their own
validations - that's something we have recently added, we need to add documentation for it - the idea is quite similar.
email:
label: Email
password:
Expand Down