File: text.jade

package info (click to toggle)
node-jade 1.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,984 kB
  • ctags: 315
  • sloc: makefile: 4
file content (36 lines) | stat: -rw-r--r-- 765 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| An example of an
a(href='#') inline
| link.

form
  label Username:
    input(type='text', name='user[name]')
    p
      | Just an example of some text usage.
      | You can have <em>inline</em> html,
      | as well as
      strong tags
      | .

      | Interpolation is also supported. The 
      | username is currently "#{name}".

  label Email:
    input(type='text', name='user[email]')
    p
      | Email is currently
      em= email
      | .

  // alternatively, if we plan on having only
  // text or inline-html, we can use a trailing
  // "." to let jade know we want to omit pipes
  
  label Username:
    input(type='text')
    p.
      Just an example, like before
      however now we can omit those
      annoying pipes!.
      
      Wahoo.