Re: Forms creation using jade

298 views
Skip to first unread message
Message has been deleted

Jan Buschtöns

unread,
Mar 29, 2013, 1:21:58 AM3/29/13
to jad...@googlegroups.com

Did you read the readme at GitHub?



On Fri, Mar 29, 2013 at 6:17 AM, Sriharsha Ayinala <ayinala....@gmail.com> wrote:

<div id="content">
          <form id="registeruser" action="" method="post">
            <div class="field text-field"><label for="username">Username</label><br><input id="username" type="text"></div>
            <div class="field text-field"><label for="password">Password</label><br><input id="password" type="password"></div>
            <div class="field"><input id="remember_me" checked="checked" name="remember_me" type="checkbox" value="1"><label for="remember_me">Keep me logged in</label></div>
            <div class="actions"><input name="commit" type="submit" value="Login" class="button"><a href="password_resets/new" style="color: #000; font-size: 12px;">Forgot password?</a></div>
          </form>
        </div>



This is my HTML code i want it using jade please help me 
Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Jade" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jadejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Message has been deleted

Cloud

unread,
Mar 29, 2013, 1:28:41 AM3/29/13
to jad...@googlegroups.com
Jan is saying your case are very very basic scenario. while you have time to send the email to ask for help, you could have already finished reading the readme and solve your problem.


On Thu, Mar 28, 2013 at 10:24 PM, Sriharsha Ayinala <ayinala....@gmail.com> wrote:
I was very new to jade and i don't know anything about those please help me to get those

Jan Buschtöns

unread,
Mar 29, 2013, 1:28:50 AM3/29/13
to jad...@googlegroups.com

<input id="blah" class="long big" name="password" value="secret" />


translates to

input#blah.long.big(name="password",value="secret")

This should help for a start. Please read the docs.

yogesh agrawal

unread,
Mar 29, 2013, 1:33:26 AM3/29/13
to jad...@googlegroups.com
http://www.learnjade.com/playground/

This is very helpful in learning jade. 


On Fri, Mar 29, 2013 at 10:54 AM, Sriharsha Ayinala <ayinala....@gmail.com> wrote:
I was very new to jade and i don't know anything about those please help me to get those

On Friday, 29 March 2013 10:51:58 UTC+5:30, silvinci wrote:



--
Yogesh Agrawal
+91-9351507770
Message has been deleted
Message has been deleted

Jan Buschtöns

unread,
Mar 29, 2013, 1:38:23 AM3/29/13
to jad...@googlegroups.com

What's the error message?



On Fri, Mar 29, 2013 at 6:37 AM, Sriharsha Ayinala <ayinala....@gmail.com> wrote:

While i reading the documentation i got a doubt and tried for that code

I wrote
.field.text-field
  label Username:
  input#username(name='user name')

for

<div class="field text-field"><label for="username">Username</label><br><input id="username" type="text"></div>

this but while executing i got some errors, So that's why i mailed for your's help

On Friday, 29 March 2013 10:58:41 UTC+5:30, CX wrote:
Jan is saying your case are very very basic scenario. while you have time to send the email to ask for help, you could have already finished reading the readme and solve your problem.
Message has been deleted
Message has been deleted

Jan Buschtöns

unread,
Mar 29, 2013, 1:45:40 AM3/29/13
to jad...@googlegroups.com

I can't reproduce the error, since I'm on my iPhone. But maybe you can try this:

- use " instead of '
- remove the : in the label
- remove the whitespace in the name tag
- check the consistency of whitespace/tabs for indentation
- run this code excerpt on http://www.learnjade.com/playground/


On Fri, Mar 29, 2013 at 6:40 AM, Sriharsha Ayinala <ayinala....@gmail.com> wrote:

Thank you for your assistance



On Friday, 29 March 2013 11:03:26 UTC+5:30, Yogesh Agrawal wrote:

http://www.learnjade.com/playground/

This is very helpful in learning jade. 


On Fri, Mar 29, 2013 at 10:54 AM, Sriharsha Ayinala <ayinala....@gmail.com> wrote:
I was very new to jade and i don't know anything about those please help me to get those

On Friday, 29 March 2013 10:51:58 UTC+5:30, silvinci wrote:

Did you read the readme at GitHub?



On Fri, Mar 29, 2013 at 6:17 AM, Sriharsha Ayinala <ayinala....@gmail.com> wrote:

<div id="content">
          <form id="registeruser" action="" method="post">
            <div class="field text-field"><label for="username">Username</label><br><input id="username" type="text"></div>
            <div class="field text-field"><label for="password">Password</label><br><input id="password" type="password"></div>
            <div class="field"><input id="remember_me" checked="checked" name="remember_me" type="checkbox" value="1"><label for="remember_me">Keep me logged in</label></div>
            <div class="actions"><input name="commit" type="submit" value="Login" class="button"><a href="password_resets/new" style="color: #000; font-size: 12px;">Forgot password?</a></div>
          </form>
        </div>



This is my HTML code i want it using jade please help me 
Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Jade" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jadejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Jade" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jadejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Yogesh Agrawal
+91-9351507770
Reply all
Reply to author
Forward
Message has been deleted
0 new messages