HTML form read only bug [duplicate]
A PHP Error was encountered
Severity: Notice
Message: Undefined index: userid
Filename: views/question.php
Line Number: 191
Backtrace:
File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler
File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view
File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once
HTML form read only bug [duplicate]
I'm new to HTML. I'm trying to create an inline form that consists of readonly plain text and input. However, some part of my output is missing. Expected {{i}} is ('I', 'body') where as output is ('I', Can anyone suggest what goes wrong? Thanks
My html file:
Please select the relevant dependency that will add to your output
{% for i in extraction %} {{i}} {% endfor %}
Here is rendered html_template from flask:
return render_template('annotation.html', first_sentence = first_sentence, extraction = [('I', 'body'),('d', 'adasd')])