56 lines
2.3 KiB
Handlebars
56 lines
2.3 KiB
Handlebars
<form {{action "submit" on="submit"}}>
|
|
<p>
|
|
<label for="c-account">Ethereum account</label>
|
|
{{input name="account" id="c-account"
|
|
type="text" value=account
|
|
placeholder="0xF18E631Ea191aE4ebE70046Fcb01a436554421BA4"
|
|
class=(if isValidAccount "valid" "")}}
|
|
</p>
|
|
<p>
|
|
<label for="c-kind">Kind</label>
|
|
<select required onchange={{action (mut kind) value="target.value"}} id="c-kind">
|
|
<option value="person" selected={{eq kind "person"}}>Person</option>
|
|
<option value="organization" selected={{eq kind "organization"}}>Organization</option>
|
|
</select>
|
|
</p>
|
|
<p>
|
|
<label for="c-name">Name</label>
|
|
{{input name="name" type="text" value=name placeholder="Zero Cool"
|
|
class=(if isValidName "valid" "") id="c-name"}}
|
|
</p>
|
|
<p>
|
|
<label for="c-url">URL</label>
|
|
{{input name="url" type="text" value=url placeholder="http://zerocool.bit"
|
|
class=(if isValidURL "valid" "") id="c-url"}}
|
|
</p>
|
|
<p>
|
|
<label for="c-github-uid">GitHub UID</label>
|
|
{{input name="github_uid" type="text" value=github_uid placeholder="2342"
|
|
class=(if isValidGithubUID "valid" "") id="c-github-uid"}}
|
|
</p>
|
|
<p>
|
|
<label for="c-github-username">GitHub username</label>
|
|
{{input name="github_username" type="text" value=github_username placeholder="zerocool"
|
|
class=(if isValidGithubUsername "valid" "") id="c-github-username"}}
|
|
</p>
|
|
<p>
|
|
<label for="c-gitea-username">Gitea username</label>
|
|
{{input name="gitea_username" type="text" value=gitea_username placeholder="zerocool"
|
|
class=(if isValidGiteaUsername "valid" "") id="c-gitea-username"}}
|
|
</p>
|
|
<p>
|
|
<label for="c-wiki-username">Wiki username</label>
|
|
{{input name="wiki_username" type="text" value=wiki_username placeholder="ZeroCool"
|
|
class=(if isValidWikiUsername "valid" "") id="c-wiki-username"}}
|
|
</p>
|
|
<p>
|
|
<label for="c-zoom-display-name">Zoom display name</label>
|
|
{{input name="zoom_display_name" type="text" value=zoom_display_name placeholder="Zero Cool"
|
|
class=(if isValidZoomDisplayName "valid" "") id="c-zoom-display-name"}}
|
|
</p>
|
|
<p class="actions">
|
|
{{input type="submit" disabled=inProgress
|
|
value=(if inProgress "Processing" "Save")}}
|
|
</p>
|
|
</form>
|