2017-08-17 22:00:37 +05:30
|
|
|
%form.gl-show-field-errors{action: 'submit', method: 'post'}
|
2016-11-03 12:29:30 +05:30
|
|
|
.form-group
|
|
|
|
%input.required-text{required: true, type: 'text'} Text
|
|
|
|
.form-group
|
|
|
|
%input.email{type: 'email', title: 'Please provide a valid email address.', required: true } Email
|
|
|
|
.form-group
|
|
|
|
%input.password{type: 'password', required: true} Password
|
|
|
|
.form-group
|
|
|
|
%input.alphanumeric{type: 'text', pattern: '[a-zA-Z0-9]', required: true} Alphanumeric
|
|
|
|
.form-group
|
|
|
|
%input.hidden{ type:'hidden' }
|
|
|
|
.form-group
|
2017-08-17 22:00:37 +05:30
|
|
|
%input.custom.gl-field-error-ignore{ type:'text' } Custom, do not validate
|
2016-11-03 12:29:30 +05:30
|
|
|
.form-group
|
|
|
|
%input.submit{type: 'submit'} Submit
|