mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
9 lines
279 B
Plaintext
9 lines
279 B
Plaintext
%label{for: path}= name
|
|
%input.medium.input-text{name: path,
|
|
"ng-model" => path,
|
|
required: required,
|
|
type: type,
|
|
"ng-class" => "{error: '!fieldValid(\"#{path}\")'}"}
|
|
%small.error.medium.input-text{"ng-show" => "!fieldValid('#{path}')"}
|
|
= "{{ fieldErrors('#{path}') }}"
|