mirror of
https://github.com/adlerosn/nodebb-plugin-groups-autoassigncategory.git
synced 2024-07-05 08:50:13 +00:00
25 lines
779 B
Smarty
25 lines
779 B
Smarty
<h1>Sample Admin Page</h1>
|
|
<hr />
|
|
|
|
<form>
|
|
<p>
|
|
Adjust these settings. You can then retrieve these settings in code via:
|
|
<code>meta.config['sample:setting1']</code> and <code>meta.config['sample:setting2']</code>
|
|
</p><br />
|
|
<div class="alert alert-info">
|
|
<p>
|
|
<label for="Setting 1">Setting 1</label>
|
|
<input type="text" data-field="sample:setting1" title="Setting 1" class="form-control" placeholder="Setting 1"><br />
|
|
<label for="Setting 2">Setting 2</label>
|
|
<input type="text" data-field="sample:setting2" title="Setting 2" class="form-control" placeholder="Setting 2">
|
|
</p>
|
|
</div>
|
|
</form>
|
|
|
|
<button class="btn btn-lg btn-primary" id="save">Save</button>
|
|
|
|
<script>
|
|
require(['forum/admin/settings'], function(Settings) {
|
|
Settings.prepare();
|
|
});
|
|
</script> |