Update login
Add profile
This commit is contained in:
@@ -13,14 +13,28 @@
|
||||
<div class="form-group">
|
||||
{{ pagedata['form'].text.label }}
|
||||
{{ pagedata['form'].text(class="form-control") }}
|
||||
<script>
|
||||
CKEDITOR.replace( 'text', {
|
||||
customConfig: '/static/js/ckeditor-conf.js'
|
||||
} );
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-outline-success float-right"><i class="fa fa-save-o"></i> Сохранить</button>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script type="text/javascript" src="/static/ckeditor/ckeditor.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var app = new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
},
|
||||
methods: {
|
||||
},
|
||||
mounted: function () {
|
||||
CKEDITOR.replace( 'text', {
|
||||
customConfig: '/static/js/ckeditor-conf.js'
|
||||
} );
|
||||
}
|
||||
})
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user