From 4f5f84e02a527ddb411bec6c4f752dcc85c82611 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 +++++++++--- core/client/templates/settings/general.hbs | 25 +++++++++++-------- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/core/client/templates/modals/invite-new-user.hbs b/core/client/templates/modals/invite-new-user.hbs index 71fac5c827..51df1a8e2c 100644 --- a/core/client/templates/modals/invite-new-user.hbs +++ b/core/client/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/core/client/templates/settings/general.hbs b/core/client/templates/settings/general.hbs index 70ace546e2..f4740941a7 100644 --- a/core/client/templates/settings/general.hbs +++ b/core/client/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