Fix bug where the profile page wouldn't set record flag.

This commit is contained in:
knotteye
2020-06-27 10:21:00 -05:00
parent 4628deec1c
commit b57e1d48e6
2 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<form action="/api/user/update" method="POST" target="responseFrame">
Stream Title: </br><input type="text" name="title" style="min-width: 300px" value="{{meta.title}}"/></br>
Bio: </br><input type="text" name="bio" style="min-width: 300px; min-height: 150px;" value="{{meta.about}}"/></br>
Record VODs: <input type="radio" name="record" value="true"> Yes<input type="radio" name="record" value="false" /> No</br></br>
Record VODs: <input type="radio" name="record" value="true" {% if rflag.record_flag %}checked{% endif %}> Yes<input type="radio" name="record" value="false" {% if rflag.record_flag %}{% else %}checked{% endif %}/> No</br></br>
<input type="submit" value="Update Profile">
</form></br>
<form action="/api/user/streamkey" method="POST" target="responseFrame">