story, story-content: Changed forms to be more like logs', removed tags from create story form.
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
<p key="error" class="color-error">${state.error}</p>
|
||||
|
||||
<h2>Meta</h2>
|
||||
<label>Title</label>
|
||||
<input key="name" placeholder="Name" class="big" on-change("change", "name") value=state.values.name />
|
||||
|
||||
@@ -15,7 +14,7 @@
|
||||
<option for(category in input.categories) value=category.name selected=(state.values.category === category.name)>${category.name}</option>
|
||||
</select>
|
||||
|
||||
<h2>Options</h2>
|
||||
<label>Options</label>
|
||||
<toggle value=state.values.listed on="Listed" off="Unlisted"
|
||||
onDesc="The story will be visible on the front page."
|
||||
offDesc="A direct link is required to view this story."
|
||||
@@ -25,6 +24,5 @@
|
||||
offDesc="Only you can add chapters to this story."
|
||||
on-change("change", "open") />
|
||||
|
||||
<h2></h2>
|
||||
<button disabled=state.loading on-click("save")>Save</button>
|
||||
</modal>
|
||||
Reference in New Issue
Block a user