form-layout
Buneilimintí comhéadain Na cruthanna nach féidir le comhpháirt a bheith, mar go dtimpeallaíonn siad corp nach eol ach don ghlaoiteoir: cártaí, greillí sonraí, roghchláir agus creatlach na mblaosc féin.
Na haitreabúidí a thugann a rithim agus a bharra sábhála d'fhoirm. Timpeallaíonn siad sraith réimsí a chumann tú féin.
Tá gach sampla beo, ach ní théann a naisc áit ar bith. Taispeánann HTML an marcáil le cóipeáil.
<form rst-form-flow method ="post" action ="/settings" >
<div rst-field >
<label rst-field-label for ="name" >Ainm</label >
<input rst-input type ="text" id ="name" name ="name" >
</div >
<div rst-field >
<label rst-field-label for ="email" >Ríomhphost</label >
<input rst-input type ="email" id ="email" name ="email" >
</div >
<div rst-field-row >
<div class ="rst-grow" rst-field >
<label rst-field-label for ="city" >Cathair</label >
<input rst-input type ="text" id ="city" name ="city" >
</div >
<div rst-field >
<label rst-field-label for ="zip" >Cód poist</label >
<input rst-input ="short" type ="text" id ="zip" name ="zip" >
</div >
</div >
<div rst-form-bar >
<span rst-form-bar-note >Sábháiltear athruithe láithreach.</span >
<div rst-form-actions >
<a rst-btn href ="/settings" >Cealaigh</a >
<button rst-btn ="primary" type ="submit" >Sábháil</button >
</div >
</div >
</form >
In aip, shroichfeadh sé seo /settings. Anseo ní théann a naisc ná a fhoirmeacha áit ar bith.