mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-11 09:53:32 +03:00
Merge pull request #3217 from PaulAdamDavis/new-form-style
New form styles
This commit is contained in:
commit
233bebc59e
@ -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 }}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
<div class="form-group for-select">
|
||||
<label for="new-user-role">Role</label>
|
||||
{{view Ember.Select content=roles id="new-user-role" optionValuePath="content.id" optionLabelPath="content.name" name="role"
|
||||
value=role}}
|
||||
<span class="gh-select" {{bind-attr data-select-text=selectedRole.name}}>
|
||||
{{view Ember.Select
|
||||
content=roles
|
||||
id="new-user-role"
|
||||
optionValuePath="content.id"
|
||||
optionLabelPath="content.name"
|
||||
name="role"
|
||||
value=role
|
||||
selection=selectedRole}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
{{/gh-modal-dialog}}
|
||||
|
@ -62,22 +62,25 @@
|
||||
<p>How many posts should be displayed on each page</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="form-group for-checkbox">
|
||||
<label for="permalinks">Dated Permalinks</label>
|
||||
{{input id="permalinks" name="general[permalinks]" type="checkbox" checked=isDatedPermalinks}}
|
||||
<label class="checkbox" for="permalinks"></label>
|
||||
<p>Include the date in your post URLs</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="form-group for-select">
|
||||
<label for="activeTheme">Theme</label>
|
||||
<span class="gh-select" {{bind-attr data-select-text=selectedTheme.label}}>
|
||||
{{view Ember.Select
|
||||
id="activeTheme"
|
||||
name="general[activeTheme]"
|
||||
content=themes
|
||||
optionValuePath="content.name"
|
||||
optionLabelPath="content.label"
|
||||
value=activeTheme}}
|
||||
value=activeTheme
|
||||
selection=selectedTheme}}
|
||||
</span>
|
||||
<p>Select a theme for your blog</p>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user