Browse Source

Made add song button appear disabled if not logged in.

KrisVos130 9 years ago
parent
commit
6c81a8a443
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/templates/room.html

+ 2 - 0
app/templates/room.html

@@ -30,6 +30,8 @@
                 <div class="col-md-4">
                   {{#if currentUser}}
                     <button type="button" id="song-modal" class="button" data-toggle="modal" data-target="#myModal">Add songs</button>
+                    {{else}}
+                    <button title="You need to be logged in to add songs." type="button" class="button btn btn-disabled" disabled>Add songs</button>
                   {{/if}}
                 </div>
                 <div class="col-md-4">