<%= csrf_meta_tags %> <%= action_cable_meta_tag %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= link_to image_tag("bbb-logo.png", :alt => "BigBlueButton", :class => "logo"), root_path %> <% if current_user %> <%= current_user.name %> | <% if current_user.username %> <%= link_to t('my_room'), current_user.room_url %> | <% else %> <%= link_to t('my_room'), edit_user_path(current_user) %> | <% end %> <%= link_to t('logout'), user_logout_url %> <% elsif @user %> <%= t('are_you', name: @user.username) %> | <%= link_to t('login'), "/auth/#{@user.provider}" %> <% else %> <%= t('oauth_signup') %> <%= link_to('/auth/twitter', :class => "btn icon btn-lg btn-social-icon btn-twitter") do %> <% end %> <%= link_to('/auth/google', :class => "btn icon btn-lg btn-social-icon btn-google") do %> <% end %> <% end %>
<%= yield %>