Skip to content

Commit

Permalink
Fix css classes for <select /> in controlpanel
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Jan 25, 2023
1 parent c3ee243 commit 4f83ff9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plone/app/caching/browser/controlpanel.pt
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@

<div tal:replace="error" tal:condition="error" />

<select class="form-control"
<select class="form-select"
size="6" multiple="multiple" id="purgedContentTypes" name="purgedContentTypes:list">
<option
tal:repeat="contentType view/contentTypes"
Expand Down Expand Up @@ -444,7 +444,7 @@
<p class="form-text" tal:content="ruleType/description" i18n:translate=""/>
</td>
<td tal:define="selected python:request.get('operations', view.operationMapping).get(ruleType['safeName'], None)">
<select class="form-control"
<select class="form-select"
size="1"
tal:attributes="id string:operation-${ruleType/name};
name string:operations.${ruleType/safeName}:record;">
Expand Down Expand Up @@ -522,7 +522,7 @@
</td>
<td tal:define="selected python:request.get('contenttypes', view.reverseContentTypeMapping).get(ruleType['safeName'], [])">
<div class="invalid-feedback" tal:omit-tag="not:contentTypeError">
<select class="form-control"
<select class="form-select"
size="6"
multiple="multiple"
tal:attributes="id string:contenttypes-${ruleType/name};
Expand Down

0 comments on commit 4f83ff9

Please sign in to comment.