Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/components/forms/admin/content/social-links-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ export default Component.extend(FormMixin, {
}
]
},
googlePlus: {
identifier : 'google_plus',
googleGroup: {
identifier : 'google_group',
optional : true,
rules : [
{
type : 'containsExactly[plus.google.com]',
prompt : this.l10n.t('Please enter a valid google plus url')
type : 'containsExactly[groups.google.com]',
prompt : this.l10n.t('Please enter a valid google group url')
},
{
type : 'regExp',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
}}
</div>
<div class="field">
<label>{{t 'Google +'}}</label>
<label>{{t 'Google Group'}}</label>
{{widgets/forms/link-input
segmentedLink=socials.segmentedGoogleUrl
inputId='google_plus'
inputId='google_groups'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change here too else validation wont work

}}
</div>
<div class="field">
Expand Down