<div class="asset-selector-container">  
    <div class="field-label" th:text="#{${field.friendlyName}}" />
    <input type="hidden" class="mediaUrl" th:field="*{fields['__${field.name}__'].value}" th:classappend="${field.required ? 'required' : ''}" />
    
    <img class="thumbnail" 
        th:if="*{fields['__${field.name}__'].value != null}"
        th:src="@{*{fields['__${field.name}__'].value + '?largeAdminThumbnail'}}"
        th:attr="data-fullurl=@{*{fields['__${field.name}__'].value}}" />
        
    <img class="thumbnail" 
        th:unless="*{fields['__${field.name}__'].value != null}" />
    
    <button class="show-asset-selector tiny radius secondary button hover-cursor"
        type="button" th:inline="text"
        th:attr="data-select-url=@{${'/'+sectionKey+ '/' + entityForm.id + '/chooseAsset'}}">
        <i class="icon-camera"></i>&nbsp;[[#{Select_Upload_Image}]]
    </button>
</div>



<div class="asset-selector-container">  
    <div class="field-label" th:text="#{${field.friendlyName}}" th:classappend="${field.required ? 'required' : ''}" />
    <input type="hidden" class="mediaUrl" th:field="*{fields['__${field.name}__'].value}" th:classappend="${field.required ? 'required' : ''}" />
    
    <img class="thumbnail" 
        th:if="*{fields['__${field.name}__'].value != null}"
        th:src="@{*{fields['__${field.name}__'].value + '?largeAdminThumbnail'}}"
        th:attr="data-fullurl=@{*{fields['__${field.name}__'].value}}" />
        
    <img class="thumbnail" 
        th:unless="*{fields['__${field.name}__'].value != null}" />
    
    <button class="show-asset-selector tiny radius secondary button hover-cursor"
        type="button" th:inline="text"
        th:attr="data-select-url=@{${'/'+sectionKey+ '/' + entityForm.id + '/chooseAsset'}}">
        <i class="icon-camera"></i>&nbsp;[[#{Select_Upload_Image}]]
    </button>
</div>



Fix required css not showing up on media field labels
Fix required css not showing up on media field labels
