<div class="response_templates_select">
    <select id="templates_for_[% for %]" class="js-template-name" data-for="[% for %]" name="response_template">
        <option value="">[% loc('--Choose a template--') %]</option>
      [% FOR t IN problem.response_templates %]
        <option value="[% t.text | html %]"> [% t.title | html %] </option>
      [% END %]
    </select>
</div>

[% IF problem.response_templates %]
<div class="response_templates_select">
    <select id="templates_for_[% for %]" class="js-template-name" data-for="[% for %]" name="response_template">
        <option value="">[% loc('--Choose a template--') %]</option>
      [% FOR t IN problem.response_templates %]
        <option value="[% t.text | html %]"> [% t.title | html %] </option>
      [% END %]
    </select>
</div>
[% END %]

Hide response templates UI if there are no templates
Hide response templates UI if there are no templates
