core: show multi-select notice for SelectMultiple Widgets
This commit is contained in:
		| @ -31,7 +31,7 @@ | ||||
|             <p class="pf-c-form__helper-text">{{ field.help_text }}</p> | ||||
|             {% endif %} | ||||
|         </div> | ||||
|     {% elif field.field.widget|fieldtype == 'Select' %} | ||||
|     {% elif field.field.widget|fieldtype == 'Select' or field.field.widget|fieldtype == "SelectMultiple" %} | ||||
|         <div class="pf-c-form__group-label"> | ||||
|             <label class="pf-c-form__label" for="{{ field.name }}-{{ forloop.counter0 }}"> | ||||
|                 <span class="pf-c-form__label-text">{{ field.label }}</span> | ||||
| @ -46,6 +46,9 @@ | ||||
|                 {% if field.help_text %} | ||||
|                 <p class="pf-c-form__helper-text">{{ field.help_text|safe }}</p> | ||||
|                 {% endif %} | ||||
|                 {% if field.field.widget|fieldtype == 'SelectMultiple' %} | ||||
|                 <p class="pf-c-form__helper-text">{% trans 'Hold control/command to select multiple items.' %}</p> | ||||
|                 {% endif %} | ||||
|             </div> | ||||
|         </div> | ||||
|     {% elif field.field.widget|fieldtype == 'CheckboxInput' %} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer