From 4dccf9741844f7db47a4beaa457a1d5351f46a73 Mon Sep 17 00:00:00 2001 From: Paul Adam Davis Date: Mon, 7 Jul 2014 15:37:50 +0100 Subject: [PATCH] Aditional classes in settings and invite user modal for the new form style --- .../templates/modals/invite-new-user.hbs | 16 +++++++++--- ghost/admin/templates/settings/general.hbs | 25 +++++++++++-------- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/ghost/admin/templates/modals/invite-new-user.hbs b/ghost/admin/templates/modals/invite-new-user.hbs index 71fac5c827..51df1a8e2c 100644 --- a/ghost/admin/templates/modals/invite-new-user.hbs +++ b/ghost/admin/templates/modals/invite-new-user.hbs @@ -7,11 +7,21 @@ {{input class="email" id="new-user-email" type="email" placeholder="Email Address" name="email" autofocus="autofocus" autocapitalize="off" autocorrect="off" value=email }} -
+ +
- {{view Ember.Select content=roles id="new-user-role" optionValuePath="content.id" optionLabelPath="content.name" name="role" - value=role}} + + {{view Ember.Select + content=roles + id="new-user-role" + optionValuePath="content.id" + optionLabelPath="content.name" + name="role" + value=role + selection=selectedRole}} +
+ {{/gh-modal-dialog}} diff --git a/ghost/admin/templates/settings/general.hbs b/ghost/admin/templates/settings/general.hbs index 70ace546e2..f4740941a7 100644 --- a/ghost/admin/templates/settings/general.hbs +++ b/ghost/admin/templates/settings/general.hbs @@ -3,11 +3,11 @@
- +
-
+
@@ -62,22 +62,25 @@

How many posts should be displayed on each page

-
+
{{input id="permalinks" name="general[permalinks]" type="checkbox" checked=isDatedPermalinks}}

Include the date in your post URLs

-
+
- {{view Ember.Select - id="activeTheme" - name="general[activeTheme]" - content=themes - optionValuePath="content.name" - optionLabelPath="content.label" - value=activeTheme}} + + {{view Ember.Select + id="activeTheme" + name="general[activeTheme]" + content=themes + optionValuePath="content.name" + optionLabelPath="content.label" + value=activeTheme + selection=selectedTheme}} +

Select a theme for your blog