Closed vfremaux closed 6 years ago
After reading the mustache lint related i will also try the || true method to get it passing anyway...
Think the linter wants to see something like this, <form action="{{formurl}}">
Link to the code would help too.
According to empty action attribute in a form: Actually you should leave it out or it has to be a valid url according to the standards.
The class moodle_url "only" handles url manipulation. It contains your desired url but it still has to be used somewhere in the template. So the interesting part is in the template to see if the variable is used correctly.
Closing old issues, please re-open with comment if you wish.
Running moodle plugin-ci V2 on 3.4
Mustache check is complaining the following error on a template that holds a small form (block content local accessory form) :
WARNING: HTML Validation error, line 3: Bad value “” for attribute “action” on element “form”: Must be non-empty. (yform -->