Pregunta

Hola, soy un novato total en Scalate/Scaml (etiqueté Haml ya que Scaml y Haml son similares). Tengo alguna plantilla que se ve así:

-@ var customer : com.x.model.Customer
!!!
%html
    %body
        %p Contact:
            %a{:href => 'mailto:#{customer.email}'}=customer.contact

La línea %P se marcó con este error:

org.fusesource.scalate.InvalidSyntaxException: Illegal nesting: content can't be given on the same line as html element or nested within it if the tag is closed at 16.17

No hay solución correcta

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top