2012-08-05 17 views

cevap

4

Girdi etiketleri yapmak sayesinde vermektedir çocuk sahibi değil. kaçmış değilse Jade etiketleri gibi metin yorumlayacaktır olarak

p.confirm 
    input(type="checkbox", name="agree") 
    I agree to the Terms & Conditions of this Company 
    br 
    input(type="checkbox", name="subscribe") 
    Tick to recieve future communication from Company 
+0

, o github https://github.com/visionmedia/jade/issues/445 cevabımı – user1551482

+0

üzerinde konularda söz edildiğini bildiren bir 'input' olamaz çocuk elemanlarına sahip olmak. – Amberlamps

+0

şeydir düzenlenmiş – Amberlamps

21

ben kabul yanıt nasıl çalıştığını emin değilim.

Bunların her ikisi de yerine çalışacaktır:

p.confirm 
    label 
    input(type="checkbox", name="agree") 
    | I agree to the Terms & Conditions of this Company 
    br 
    label 
    input(type="checkbox", name="subscribe") 
    = " Tick to recieve future communication from Company" 

etiket metni tıklanabilir hale getirmek gereklidir. ben bu o deosnt işi denedi

İlgili konular