mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
24 lines
789 B
Handlebars
24 lines
789 B
Handlebars
<div class='user-fields'>
|
|
<h2>{{i18n 'admin.user_fields.title'}}</h2>
|
|
|
|
<p class="desc">{{i18n 'admin.user_fields.help'}}</p>
|
|
|
|
{{#if model}}
|
|
{{#each arrangedContent as |uf|}}
|
|
{{admin-user-field-item userField=uf
|
|
fieldTypes=fieldTypes
|
|
firstField=arrangedContent.firstObject
|
|
lastField=arrangedContent.lastObject
|
|
destroyAction="destroy"
|
|
moveUpAction="moveUp"
|
|
moveDownAction="moveDown"}}
|
|
{{/each}}
|
|
{{/if}}
|
|
|
|
{{d-button disabled=createDisabled
|
|
class="btn-primary"
|
|
action="createField"
|
|
label="admin.user_fields.create"
|
|
icon="plus"}}
|
|
|
|
</div>
|