Advertisement
lberelson

Share Joke2

Oct 10th, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.31 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="description" content="">
  7. <meta name="author" content="">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <link rel="shortcut icon" href="{site_url}assets/bootstrap/assets/ico/favicon.png">
  10.  
  11. <title>The Joke Database Connection</title>
  12.  
  13. <!-- Bootstrap core CSS -->
  14. <link href="{site_url}assets/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
  15. <link href="{path=css/_ee_channel_form_css}" type="text/css" rel="stylesheet" media="screen">
  16.  
  17. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  18.  
  19. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  20. <!--[if lt IE 9]>
  21. <script src="{site_url}assets/bootstrap/assets/js/html5shiv.js"></script>
  22. <script src="{site_url}assets/bootstrap/assets/js/respond.min.js"></script>
  23. <![endif]-->
  24.  
  25. <style>
  26.  
  27. </style>
  28.  
  29. </head>
  30.  
  31. <body>
  32.  
  33.     <h3 align="center">Submit Your Joke v2</h3>
  34. <p>copy above form</p>
  35.  
  36.  
  37.  
  38.  
  39.  
  40. {exp:channel:form channel="jokes" return="jdb/thanks" }
  41.    <input name="title" type="text">
  42.    <input name="joke_content" type="text">
  43.    <input type="submit" value="Submit">
  44. {/exp:channel:form}
  45.  
  46.  
  47.  
  48.     {exp:channel:form channel="jokes"  id="channel_form2" return="jdb/thanks"}
  49.  
  50. <p>copy middle form</p>
  51.  
  52.     <h3>Short title for your joke <span style="font-size:.7em">(max characters 50)</span>*</h3>
  53.     <label for="title">Title of your joke</label>
  54.     <input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" onkeyup="liveUrlTitle();">
  55.  
  56.     <p>&nbsp;</p>
  57.  
  58.     <label for="text">Choose a category for your joke*</label>
  59.     <select name="jokes" id="jokes">
  60.     {options:joke_category}
  61.     <option value="{option_value}"{selected}>{option_name}</option>
  62.     {/options:joke_category}
  63.     </select>
  64.     <br /><br />
  65.  
  66.     <label for="text">Tell us your joke*</label>
  67.     {field:joke_content} <br />
  68.     <p>&nbsp;</p>
  69.     <p>&nbsp;</p>
  70.     <p>&nbsp;</p>
  71.  
  72.     <button class="btn btn-lg btn-primary btn-block" style="width: 100px;" type="submit">Submit</button>
  73.     <br /><br />
  74.     {/exp:channel:form}
  75.  
  76. <p>copy after form</p>
  77.     <hr>
  78.     {embed="jdb/footer"}
  79.  
  80.  
  81. <script type="text/javascript" src="{site_url}assets/bootstrap/dist/js/bootstrap.min.js"></script>
  82. </body>
  83. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement