chore(jottes): updated edit html template fb3c95bd
Steve · 2026-10-24 13:25 1 file(s) · +3 −1
apps/jotts/templates/edit.html +3 −1
25 25
        <input type="text" id="title" name="title" value="{{.Note.Title}}" required>
26 26
        <label for="content">content</label>
27 27
        <textarea id="content" name="content">{{.Note.Content}}</textarea>
28 -
        <label for="public">Public</label>
28 +
        <div style="display: flex; align-items: center; padding: 1rem 0;">
29 +
        <label style="padding-right: 1rem;" for="public">Public</label>
29 30
        <input type="checkbox" id="public" name="public" value="true" {{if .Note.Public}}checked{{end}}>
30 31
        <input type="hidden" name="public" value="false">
32 +
        </div>
31 33
        <button type="submit">save</button>
32 34
      </form>
33 35
    </main>