linstrom/frontend-reactive/app/components/auth/post-registration-form.hbs
2024-10-28 08:36:11 +01:00

68 lines
2 KiB
Handlebars

<div class="registration-form">
<h1 class="registration-form-username">username: {{this.args.username}}</h1>
<div class="registration-form-displayname-wrapper">
<label>
Displayname
<Input
@type="text"
@value={{this.displayname}}
placeholder="Displayname"
/>
</label>
</div>
<div class="registration-form-description-wrapper">
<label>
Description
<Input
@type="text"
@value={{this.description}}
placeholder="Account description"
/>
</label>
</div>
{{!--<div class="registration-form-mail-wrapper">--}}
{{!-- <label>--}}
{{!-- Email--}}
{{!-- <Input @type="text" @value={{this.email}} placeholder="Email address" />--}}
{{!-- </label>--}}
{{!--</div>--}}
<div class="registration-form-gender-wrapper">
<Util::StringArray
@list={{this.gender}}
@onNewElement={{this.genderAddedHandler}}
@onDeleteElement={{this.genderRemovedHandler}}
/>
</div>
<p>{{this.extracted}}</p>
<div class="register-form-being-wrapper">
<Util::Multiselect @elements={{this.beingTypes}} />
</div>
<div class="register-form-default-post-mode-wrapper">
<Util::OneOfArray
@elements={{array "Public" "Local" "Followers" "Direct"}}
@selected={{this.defaultpostmode}}
@name="default-post-mode"
@required={{true}}
/>
</div>
<div class="register-form-follow-approval-wrapper">
<label>
Require approval for follow requests
<Input
@type="checkbox"
name="Follow approval"
@checked={{this.args.followapproval}}
/>
</label>
</div>
<div class="register-form-indexable-wrapper">
<label>
Whether the account is indexable
<Input @type="checkbox" name="Indexable" @checked={{this.indexable}} />
</label>
</div>
<div class="register-form-custom-fields-wrapper">
<Util::MapEdit @list={{this.customProperties}} />
</div>
{{! TODO: Icon, Background, Banner }}
</div>