您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

form-contact.html 1.3KB

1234567891011121314151617181920212223
  1. {{ $.Scratch.Add "labelClasses" "f6 b db mb1 mt3 sans-serif mid-gray" }}
  2. {{ $.Scratch.Add "inputClasses" "w-100 f5 pv3 ph3 bg-light-gray bn" }}
  3. <form class="black-80 sans-serif" accept-charset="UTF-8" action="{{ .Get "action" }}" method="POST">
  4. <label class="{{ $.Scratch.Get "labelClasses" }}" for="first_name">Your Name</label>
  5. <input type="text" id="first_name" name="first_name" class="{{ $.Scratch.Get "inputClasses" }}" required placeholder=" " />
  6. <label class="{{ $.Scratch.Get "labelClasses" }}" for="last_name">Organization Name</label>
  7. <input type="text" id="last_name" name="last_name" class="{{ $.Scratch.Get "inputClasses" }}" required placeholder=" " />
  8. <label class="{{ $.Scratch.Get "labelClasses" }}" for="email">Email Address</label>
  9. <input type="email" id="email" name="email" class="{{ $.Scratch.Get "inputClasses" }}" required placeholder=" " />
  10. <div class="requirements f6 gray glow i ph3 overflow-hidden TK">
  11. Must be a valid email address.
  12. </div>
  13. <label class="{{ $.Scratch.Get "labelClasses" }}" for="message">Message</label>
  14. <textarea id="message" name="message" class="{{ $.Scratch.Get "inputClasses" }} h4" aria-describedby="comment-desc"></textarea>
  15. <input class="db w-100 mv2 white pa3 bn hover-shadow hover-bg-blck bg-animate bg-black" type="submit" value="Send" />
  16. </form>