DEV: add classes to invite modal fields so they can be targeted (#12366)

This commit is contained in:
Neil Lalonde 2021-03-11 15:56:02 -05:00 committed by GitHub
parent 52810713d3
commit b42ee6e296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{{#d-modal-body title=(if invite.id "user.invited.invite.edit_title" "user.invited.invite.new_title")}} {{#d-modal-body title=(if invite.id "user.invited.invite.edit_title" "user.invited.invite.new_title")}}
<form> <form>
<div class="input-group"> <div class="input-group invite-link-field">
<label for="invite_link">{{i18n "user.invited.invite.instructions"}}</label> <label for="invite_link">{{i18n "user.invited.invite.instructions"}}</label>
{{input name="invite_link" {{input name="invite_link"
class="invite-link" class="invite-link"
@ -11,7 +11,7 @@
<p>{{i18n "user.invited.invite.expires_at_time" time=expiresAtRelative}}</p> <p>{{i18n "user.invited.invite.expires_at_time" time=expiresAtRelative}}</p>
<div class="input-group"> <div class="input-group invite-type">
<div class="radio-group"> <div class="radio-group">
{{radio-button id="invite-type-link" name="invite-type" value="link" selection=type}} {{radio-button id="invite-type-link" name="invite-type" value="link" selection=type}}
<label for="invite-type-link">{{i18n "user.invited.invite.type_link"}}</label> <label for="invite-type-link">{{i18n "user.invited.invite.type_link"}}</label>
@ -37,7 +37,7 @@
{{/if}} {{/if}}
{{#if isEmail}} {{#if isEmail}}
<div class="input-group"> <div class="input-group invite-email-field">
<label for="invite-email">{{i18n "user.invited.invite.email"}}</label> <label for="invite-email">{{i18n "user.invited.invite.email"}}</label>
{{input {{input
id="invite-email" id="invite-email"
@ -64,7 +64,7 @@
</p> </p>
{{#if showAdvanced}} {{#if showAdvanced}}
<div class="input-group"> <div class="input-group invite-to-groups">
<label>{{i18n "user.invited.invite.add_to_groups"}}</label> <label>{{i18n "user.invited.invite.add_to_groups"}}</label>
{{group-chooser {{group-chooser
content=allGroups content=allGroups
@ -74,7 +74,7 @@
}} }}
</div> </div>
<div class="input-group"> <div class="input-group invite-to-topic">
{{choose-topic {{choose-topic
selectedTopicId=buffered.topicId selectedTopicId=buffered.topicId
topicTitle=buffered.topicTitle topicTitle=buffered.topicTitle
@ -83,7 +83,7 @@
}} }}
</div> </div>
<div class="input-group"> <div class="input-group invite-expires-at">
{{future-date-input {{future-date-input
displayLabel=(i18n "user.invited.invite.expires_at") displayLabel=(i18n "user.invited.invite.expires_at")
includeDateTime=true includeDateTime=true
@ -94,7 +94,7 @@
</div> </div>
{{#if isEmail}} {{#if isEmail}}
<div class="input-group"> <div class="input-group invite-custom-message">
<label for="invite-message">{{i18n "user.invited.invite.custom_message"}}</label> <label for="invite-message">{{i18n "user.invited.invite.custom_message"}}</label>
{{textarea id="invite-message" value=buffered.custom_message}} {{textarea id="invite-message" value=buffered.custom_message}}
</div> </div>