Skip to content

Instantly share code, notes, and snippets.

@loftusjl
Last active December 9, 2020 18:42
Show Gist options
  • Save loftusjl/de08736a15f50c1a3a1482c25bc0dee6 to your computer and use it in GitHub Desktop.
Save loftusjl/de08736a15f50c1a3a1482c25bc0dee6 to your computer and use it in GitHub Desktop.
Registration Section Template
<section id="sectionID">
<h2>Section Title</h2>
<hr />
<small>Required fields = *</small>
<div className="inputRow">
<div className="col m-input small">
<label className="required">InputName:</label>
<input
type="text"
className="form-control"
name="inputName"
/>
</div>
<div className="col m-input small">
<label className="required">SelectName:</label>
<select
type="text"
className="custom-select"
name="selectName"
>
<Options
options={[
"...",
"...",
]}
/>
</select>
</div>
</div>
<div className="inputRow">
<div className="col m-input" style={{ flexGrow: 1 }}>
<label className="required">LargeInputName:</label>
<input
type="text"
className="form-control"
placeholder="placeholder text"
name="largeInputName"
/>
</div>
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment