-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
MAP-581 fix input field alignment #677
MAP-581 fix input field alignment #677
Conversation
@@ -170,6 +82,80 @@ | |||
{% endcall %} | |||
{% endmacro%} | |||
|
|||
{% macro radiosWithAddAnotherTextBox(question) %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed macro and removed the Not known code as it is no longer needed
primaryQuestion:{ | ||
text: "Was any part of the incident captured on a body-worn camera?", | ||
name: "bodyWornCamera", | ||
value: data.bodyWornCamera, | ||
errorMessage: errors | findError('bodyWornCamera'), | ||
includeNotKnown: false | ||
questionSubject: 'body-worn-camera' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to use this for integration tests and panel that open when Yes is selected
@@ -1,2 +1 @@ | |||
new AddAnother($('.add-another-evidence'), '.remove-button-container') | |||
new AddAnother($('.add-another-input'), '.remove-button-container') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved this into a new file that more represents the page it serves, i.e details page
this code has been included in map-625 |
The recent changes to remove the Not known option caused the input fields to go out of alignment and the No button to move down. like this:
Have fixed this and also refactored code so that macro is more generic and so can be used for other questions.
The question now looks like this