Domanda

Ciao, sono un numero totale di Scalate/Scaml (ho taggato HAML da quando Scaml & Haml sono simili). Ho del modello che assomiglia a questo:

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

La linea %P è contrassegnata con questo errore:

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

Nessuna soluzione corretta

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top