blob: a8371730bf9e7d7689ea21bc89701acb350e64ab [file] [log] [blame]
<div id="transfer-ownership-container" style="display: [if-any open_dialog]block[else]none[end]">
<div id="transfer-ownership-dialog">
<h2 style="margin-top:0">
<a id="hotlist_star"
style="color:[if-any hotlist.is_starred]cornflowerblue[else]gray[end]"
title="[if-any hotlist.is_starred]Un-s[else]S[end]tar this hotlist">
[if-any hotlist.is_starred]&#9733;[else]&#9734;[end]
</a>
Hotlist: [hotlist.name]
</h2>
<section style="margin: 1em 0">
Transfer hotlist ownership to: <input name="changeowners" value="[initial_new_owner_username]" placeholder=[placeholder]>
[if-any errors.transfer_ownership]
<div class="fielderror">[errors.transfer_ownership]</div>
[end]
</section>
<section>
Would you like to stay on as an editor of this hotlist?
<input type="checkbox" name="becomeeditor" checked>
</section>
<menu>
<button id="cancel" type="reset">Cancel</button>
<button type="submit">Confirm</button>
</menu>
</div>
</div>
<script type="text/javascript" defer src="[version_base]/static/js/hotlists/edit-hotlist.js" nonce="[nonce]"></script>