-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signup teams #210
base: main
Are you sure you want to change the base?
Signup teams #210
Changes from 11 commits
9d3f19c
ed40b0e
bd47eea
c320902
12d36d2
da622e8
b8c7949
0549123
71afb76
3a29ced
4011a1d
b730b3d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,18 @@ | |
<input id="email" name="email" type="text" data-auto-trim placeholder="{{{__ "enter email"}}}" value="{{formValues.email}}" size="30" class="pure-input-1 login-form-input"> | ||
</div> | ||
|
||
{{#if signupTeamsTransfer}} | ||
<div class="pure-control-group"> | ||
<h4>Teams suggested by invite link, check box to join</h4> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. May need to add explanation or link to explanation of what teams are. Via Eloquence: text will need to be internationalized before merge There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you pass the full team objects along, you can access the internationalized team names via |
||
{{#each signupTeamsTransfer}} | ||
<label for="checkbox-option-{{team}}" class="pure-checkbox"> | ||
<input id="checkbox-option-{{team}}" type="checkbox" value=""> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would suggest setting the boxes to |
||
{{team}} | ||
</label> | ||
{{/each}} | ||
</div> | ||
{{/if}} | ||
|
||
{{#if questionCaptcha}} | ||
<div class="pure-control-group"> | ||
<p>{{{__ "captcha intro"}}}</p> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just push the team objects themselves into a plain array. That way, you can access slug, label and ID later.
In the template, you can loop through a plain array via
{{#each}}
and access each team's properties viathis
.