Include password modals dialog in manage room

And fix another copy/paste error
master
Daniel Berteaud 11 years ago
parent 7fe7a8f292
commit b34153fc0f
  1. 6
      templates/default/manage_room.html.ep

@ -2,6 +2,8 @@
%=include 'header' %=include 'header'
%=include 'public_toolbar' %=include 'public_toolbar'
<div class="container-fluid"> <div class="container-fluid">
%= include 'owner_password_modal'
%= include 'join_password_modal'
%= include 'noscript' %= include 'noscript'
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
@ -60,10 +62,10 @@
</tr> </tr>
<tr> <tr>
<th> <th>
<%=l 'OWNER_PASSWORD' %> <%=l 'PERSISTENT' %>
</th> </th>
<th> <th>
<input class="bs-switch" type="checkbox" id="joinPass" data-room="<%= $room %>" <%= ($data->{owner_password}) ? 'checked':''%>> <input class="bs-switch" type="checkbox" id="ownerPass" data-room="<%= $room %>" <%= ($data->{owner_password}) ? 'checked':''%>>
</th> </th>
</tr> </tr>
</tbody> </tbody>

Loading…
Cancel
Save