Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | [define title]Create a new hotlist[end] |
| 2 | [define category_css]css/ph_detail.css[end] |
| 3 | [include "../framework/header.ezt" "hidetabs"] |
| 4 | |
| 5 | <h2>Create a hotlist</h2> |
| 6 | |
| 7 | <form action="createHotlist.do" method="POST" id="create_hotlist_form" |
| 8 | style="margin: 1em;"> |
| 9 | <input type="hidden" name="token" value="[form_token]"> |
| 10 | |
| 11 | <label for="hotlistname">Hotlist Name:</label><br> |
| 12 | <input type="text" id="hotlistname" name="hotlistname" size="30" autocomplete="off" |
| 13 | value="[initial_name]"> |
| 14 | <span class="graytext">Example: My-Hotlist-Name</span> |
| 15 | <div class="fielderror"> |
| 16 | <span id="hotlistnamefeedback"> |
| 17 | [if-any errors.hotlistname][errors.hotlistname][end] |
| 18 | </span> |
| 19 | </div> |
| 20 | |
| 21 | <label for="summary">Summary</label><br> |
| 22 | <input type="text" id="summary" name="summary" size="75" autocomplete="off" |
| 23 | value="[initial_summary]"> |
| 24 | <div class="fielderror"> |
| 25 | <span id="summaryfeedback"> |
| 26 | [if-any errors.summary][errors.summary][end] |
| 27 | </span> |
| 28 | </div> |
| 29 | |
| 30 | <label for="description">Description</label><br> |
| 31 | <textarea id="description" name="description" rows="20" cols="90" wrap="soft">[initial_description]</textarea> |
| 32 | <br><br> |
| 33 | |
| 34 | <div> |
| 35 | <span>Owner: [logged_in_user.email]</span> |
| 36 | <div class="graytext"> |
| 37 | You will be the owner of this hotlist with permission to edit everything |
| 38 | </div> |
| 39 | </div> |
| 40 | <br> |
| 41 | |
| 42 | <label for="editors">Editors</label><br> |
| 43 | <input type="text" id="editors" name="editors" size="75" autocomplete="off" |
| 44 | value="[initial_editors]"> |
| 45 | <span class="graytext">Example: user@email.com, example@email.com</span> |
| 46 | <div class="graytext">Editors may add, remove, or rank issues</div> |
| 47 | <div class="fielderror"> |
| 48 | <span id="editorsfeedback"> |
| 49 | [if-any errors.editors][errors.editors][end] |
| 50 | <span> |
| 51 | </div> |
| 52 | |
| 53 | <label for="privacy">Viewable by:</label> |
| 54 | <select name="is_private" id="privacy"> |
| 55 | <option disabled="disabled">Select an access level...</option> |
| 56 | <option value="no">Anyone on the internet</option> |
| 57 | <option value="yes" selected="selected">Hotlist members</option> |
| 58 | </select> |
| 59 | <br><br> |
| 60 | |
| 61 | <input type="submit" value="Create hotlist"> |
| 62 | </form> |
| 63 | |
| 64 | [include "../framework/footer.ezt"] |