diff --git a/ghost/admin/app/controllers/settings/tags.js b/ghost/admin/app/controllers/settings/tags.js index fd36f481d8..9da426ee3f 100644 --- a/ghost/admin/app/controllers/settings/tags.js +++ b/ghost/admin/app/controllers/settings/tags.js @@ -50,7 +50,7 @@ export default Ember.Controller.extend(SettingsMenuMixin, { activeTag.save().catch(function (error) { if (error) { - self.notifications.showAPIError(error, {key: 'tag.save'}); + self.get('notifications').showAPIError(error, {key: 'tag.save'}); } }); }, diff --git a/ghost/admin/app/templates/settings/tags/settings-menu.hbs b/ghost/admin/app/templates/settings/tags/settings-menu.hbs index a12a8c000f..79db7ec772 100644 --- a/ghost/admin/app/templates/settings/tags/settings-menu.hbs +++ b/ghost/admin/app/templates/settings/tags/settings-menu.hbs @@ -16,17 +16,17 @@ {{gh-error-message errors=activeTag.errors property="name"}} {{/gh-form-group}} -
+ {{#gh-form-group errors=activeTag.errors hasValidated=activeTag.hasValidated property="slug"}} {{gh-input id="tag-url" name="url" type="text" value=activeTagSlugScratch focus-out="saveActiveTagSlug"}} {{gh-url-preview prefix="tag" slug=activeTagSlugScratch tagName="p" classNames="description"}} -
+ {{gh-error-message errors=activeTag.errors property="slug"}} + {{/gh-form-group}} {{#gh-form-group errors=activeTag.errors hasValidated=activeTag.hasValidated property="description"}} {{gh-textarea id="tag-description" name="description" value=activeTagDescriptionScratch focus-out="saveActiveTagDescription"}} - {{gh-error-message errors=activeTag.errors property="description"}} - {{gh-count-down-characters activeTagDescriptionScratch 200}} +

Maximum: 200 characters. You’ve used {{gh-count-down-characters activeTagDescriptionScratch 200}}

{{/gh-form-group}}