optimized input on backend by adding labels to all form elements; WMS legend link is not added to WMS attribution if legend link is empty