Skip to content

Commit

Permalink
Add comment box for page edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Zokhoi committed Sep 25, 2023
1 parent 7cd9d21 commit 0323933
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions framerail/src/routes/+error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ as soon as we can figure out prettier support for it.
/>
<textarea name="wikitext" class="editor-wikitext" />
<input name="tags" class="editor-tags" placeholder="tags" type="text" />
<textarea
name="comments"
class="editor-comments"
placeholder="comments"
type="text"
/>
<div class="editor-actions">
<button
class="editor-button button-cancel clickable"
Expand Down
12 changes: 12 additions & 0 deletions framerail/src/routes/[slug]/[...extra]/page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@
type="text"
value={data.pageRevision.tags.join(" ")}
/>
<textarea
name="comments"
class="editor-comments"
placeholder="comments"
type="text"
/>
<div class="editor-actions">
<button
class="editor-button button-cancel clickable"
Expand Down Expand Up @@ -182,6 +188,12 @@
placeholder="new slug"
type="text"
/>
<textarea
name="comments"
class="page-move-comments"
placeholder="comments"
type="text"
/>
<div class="page-move-actions">
<button
class="page-move-button button-cancel clickable"
Expand Down

0 comments on commit 0323933

Please sign in to comment.