src/pyams_gis/widget/templates/geopoint-input.pt
changeset 1 bf796b698a98
parent 0 c73bb834ccbe
child 12 77e093529691
equal deleted inserted replaced
0:c73bb834ccbe 1:bf796b698a98
    40 						</footer>
    40 						</footer>
    41 					</div>
    41 					</div>
    42 				</div>
    42 				</div>
    43 			</div>
    43 			</div>
    44 		</div>
    44 		</div>
    45 		<tal:loop repeat="widget view/subform/widgets/values">
    45 		<tal:loop repeat="widget view/widgets/values">
    46 			<input type="hidden"
    46 			<input type="hidden"
    47 				   tal:condition="python:widget.mode == 'hidden'"
    47 				   tal:condition="python:widget.mode == 'hidden'"
    48 				   tal:replace="structure widget/render" />
    48 				   tal:replace="structure widget/render" />
    49 			<tal:if condition="python:widget.mode != 'hidden'">
    49 			<tal:if condition="python:widget.mode != 'hidden'">
    50 				<div tal:define="required python:'required-field' if widget.required and (widget.mode != 'display') else ''"
    50 				<div tal:define="required python:'required-field' if widget.required and (widget.mode != 'display') else ''"