We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
models.py contains the following
models.py
class IncidentTimeline(models.PatientSubrecord): _is_singleton = True incident_occurs = fields.DateTimeField( null=True, blank=True, verbose_name="Time incident occurred" )
After running opal scaffold mir the file templates/forms/incident_timeline_form.html contains the following
opal scaffold mir
templates/forms/incident_timeline_form.html
{% load forms %} {% datetimepicker field="IncidentTimeline.incident_occurs" %}
The verbose_name is not used as a label.
verbose_name
There is a label next to the date time picker which contains the text of the verbose_name keyword argument to fields.DateTimeField.
fields.DateTimeField
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given
models.py
contains the followingAfter running
opal scaffold mir
the filetemplates/forms/incident_timeline_form.html
contains the followingActual result
The
verbose_name
is not used as a label.Expected result
There is a label next to the date time picker which contains the text of the
verbose_name
keyword argument tofields.DateTimeField
.The text was updated successfully, but these errors were encountered: