field
लेबल, इनपुट, वैकल्पिक संकेत, सहायता और त्रुटि। सामान्य टेक्स्ट जैसा कंट्रोल, स्पष्ट ID के साथ।
सादा
इसे <section rst-box><form rst-form> के अंदर रखें।
<div rst-field >
<label rst-field-label for ="f_bare" >शीर्षक</label >
<input rst-input type ="text" id ="f_bare" name ="f_bare" >
</div >
इसे <section rst-box><form rst-form> के अंदर रखें।
{{ template "field" dict "ID" "f_bare" "Name" "f_bare" "Label" "शीर्षक" }}
एक संकेत के साथ
इसे <section rst-box><form rst-form> के अंदर रखें।
<div rst-field >
<label rst-field-label for ="f_hint" >स्लग <span rst-field-hint >(छोटे अक्षर, बिना स्पेस)</span ></label >
<input rst-input type ="text" id ="f_hint" name ="f_hint" >
</div >
इसे <section rst-box><form rst-form> के अंदर रखें।
{{ template "field" dict
"ID" "f_hint"
"Name" "f_hint"
"Label" "स्लग"
"Hint" "छोटे अक्षर, बिना स्पेस" }}
नियंत्रण के नीचे सहायता के साथ
इसे <section rst-box><form rst-form> के अंदर रखें।
<div rst-field >
<label rst-field-label for ="f_help" >ईमेल</label >
<input rst-input type ="email" id ="f_help" name ="f_help" autocomplete ="email" aria-describedby ="f_help-help" >
<p rst-field-help id ="f_help-help" >हम इसका उपयोग केवल आपको जवाब भेजने के लिए करते हैं।</p >
</div >
इसे <section rst-box><form rst-form> के अंदर रखें।
{{ template "field" dict
"ID" "f_help"
"Name" "f_help"
"Label" "ईमेल"
"Type" "email"
"Help" "हम इसका उपयोग केवल आपको जवाब भेजने के लिए करते हैं।"
"Autocomplete" "email" }}
अनिवार्य
इसे <section rst-box><form rst-form> के अंदर रखें।
<div rst-field >
<label rst-field-label for ="f_required" >पूरा नाम</label >
<input rst-input type ="text" id ="f_required" name ="f_required" required >
</div >
इसे <section rst-box><form rst-form> के अंदर रखें।
{{ template "field" dict
"ID" "f_required"
"Name" "f_required"
"Label" "पूरा नाम"
"Required" true }}
त्रुटि के साथ
इसे <section rst-box><form rst-form> के अंदर रखें।
<div rst-field >
<label rst-field-label for ="f_error" >ईमेल</label >
<input rst-input type ="email" id ="f_error" name ="f_error" value ="grace@" aria-invalid ="true" aria-describedby ="f_error-error" >
<p rst-field-error id ="f_error-error" role ="alert" >यह ईमेल पता नहीं लगता।</p >
</div >
इसे <section rst-box><form rst-form> के अंदर रखें।
{{ template "field" dict
"ID" "f_error"
"Name" "f_error"
"Label" "ईमेल"
"Type" "email"
"Error" "यह ईमेल पता नहीं लगता।"
"Value" "grace@" }}
छोटा
इसे <section rst-box><form rst-form> के अंदर रखें।
<div rst-field >
<label rst-field-label for ="f_short" >पिन कोड</label >
<input rst-input ="short" type ="text" id ="f_short" name ="f_short" value ="D02 XY45" >
</div >
इसे <section rst-box><form rst-form> के अंदर रखें।
{{ template "field" dict
"ID" "f_short"
"Name" "f_short"
"Label" "पिन कोड"
"Short" true
"Value" "D02 XY45" }}
मुख्य फ़ील्ड
इसे <section rst-box><form rst-form> के अंदर रखें।
<div rst-field >
<label rst-field-label for ="f_primary" >शीर्षक</label >
<input rst-input ="primary" type ="text" id ="f_primary" name ="f_primary" value ="तिमाही बोर्ड बैठक" >
</div >
इसे <section rst-box><form rst-form> के अंदर रखें।
{{ template "field" dict
"ID" "f_primary"
"Name" "f_primary"
"Label" "शीर्षक"
"Primary" true
"Value" "तिमाही बोर्ड बैठक" }}