Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | <div id="transfer-ownership-container" style="display: [if-any open_dialog]block[else]none[end]"> |
| 2 | <div id="transfer-ownership-dialog"> |
| 3 | <h2 style="margin-top:0"> |
| 4 | <a id="hotlist_star" |
| 5 | style="color:[if-any hotlist.is_starred]cornflowerblue[else]gray[end]" |
| 6 | title="[if-any hotlist.is_starred]Un-s[else]S[end]tar this hotlist"> |
| 7 | [if-any hotlist.is_starred]★[else]☆[end] |
| 8 | </a> |
| 9 | Hotlist: [hotlist.name] |
| 10 | </h2> |
| 11 | |
| 12 | <section style="margin: 1em 0"> |
| 13 | Transfer hotlist ownership to: <input name="changeowners" value="[initial_new_owner_username]" placeholder=[placeholder]> |
| 14 | [if-any errors.transfer_ownership] |
| 15 | <div class="fielderror">[errors.transfer_ownership]</div> |
| 16 | [end] |
| 17 | </section> |
| 18 | |
| 19 | <section> |
| 20 | Would you like to stay on as an editor of this hotlist? |
| 21 | <input type="checkbox" name="becomeeditor" checked> |
| 22 | </section> |
| 23 | |
| 24 | <menu> |
| 25 | <button id="cancel" type="reset">Cancel</button> |
| 26 | <button type="submit">Confirm</button> |
| 27 | </menu> |
| 28 | </div> |
| 29 | </div> |
| 30 | |
| 31 | <script type="text/javascript" defer src="[version_base]/static/js/hotlists/edit-hotlist.js" nonce="[nonce]"></script> |