#foreach($error in $errors)
  <div class="sol-error-box">
    $error
  </div>
#end

#foreach($warning in $warnings)
  <div class="sol-warning-box">
    $warning
  </div>
#end

#if($contacts.length > 0)
	<h2 class="font-heading-4">Kontakt</h2>
	<div class="sol-contact sol-simple-box-decoration">
		<ul class="sol-ul sv-row sol-md-row">
		#foreach($contact in $contacts)
    <li class="sol-contact-item sv-column-6 sol-md-col-6">
      <h3 class="sol-contact-name">$contact.name</h3>
      #if($contact.role)
        <p>$contact.role</p>
      #end
      #if($contact.phone1)
        <p>
          <a href="tel:$contact.phone1.trimmed">
            $contact.phone1.view
          </a>
        </p>
      #end
      #if($contact.phone2)
        <p>
          <a href="tel:$contact.phone2.trimmed">
            $contact.phone2.view
          </a>
        </p>
      #end
      #if($contact.phone3)
        <p>
          <a href="tel:$contact.phone3.trimmed">
            $contact.phone3.view
          </a>
        </p>
      #end
      #if($contact.mail)
        <p>
          <a href="mailto:$contact.mail">
            $contact.mail
          </a>
        </p>
      #end
      #if($contact.visitingAddress)
        <h4>Besöksadress</h4>
        $contact.visitingAddress
      #end
      #if($contact.postalAddress)
        <h4>Postadress</h4>
        $contact.postalAddress
      #end
      #if($contact.other)
        $contact.other
      #end
    </li>
		#end
		</ul>
	</div>
#end
