aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/admin/response_templates_select.html
Commit message (Collapse)AuthorAgeLines
* Simplify response template selector HTMLDave Arter2017-01-31-2/+0
| | | | | | | | | | | Using a div inside a p isn't valid, so the DOM was being restructured by the browser causing the 'save with public update' toggle on the inspect form to not work. This fixes the issue by removing the wrapper <div> and selecting the appropriate elements for toggling with the js- class on the <select>. Fixes mysociety/fixmystreetforcouncils#153
* Prefill update field based on problem stateDave Arter2017-01-10-1/+1
| | | | | | | If there’s a response template matching the problem’s new state, it’s selected and the update field prefilled accordingly. The exception to this is if the user has manually entered text into the update field already.
* Add ‘form-control’ class where missing from <select> elementsDave Arter2016-10-19-1/+1
|
* Hide response templates UI if there are no templatesDave Arter2016-09-16-0/+2
|
* Give select a name to quieten test function.Matthew Somerville2016-09-09-1/+1
|
* Extend response templates to work across all cobrandsDave Arter2016-09-08-0/+8
This builds on the response templates in the Zürich cobrand: - Allow response templates to be assigned to categories - Also adds a auto_response flag, which will be used to automatically create updates when reports are made. - Include response templates select box on update form For mysociety/fixmystreetforcouncils#31