pixsy/node_modules/pug/examples/attributes.pug

8 lines
286 B
Plaintext
Raw Normal View History

2017-12-22 17:22:08 +00:00
div#id.left.container(class='user user-' + name)
h1.title= name
form
//- unbuffered comment :)
// An example of attributes.
input(type='text' name='user[name]' value=name)
input(checked, type='checkbox', name='user[blocked]')
input(type='submit', value='Update')