Invite to the meeting <%= @room.name %>

<%= bbb_rails_error_explanation %>

Meeting status: - (refresh)

<% if params[:mobile] %> In this page you can join the conference from a mobile device. To join from a desktop <%= link_to "click here", invite_bigbluebutton_room_path(@room) %>. <% else %> In this page you can join the conference from a desktop. To join from a mobile device <%= link_to "click here", invite_bigbluebutton_room_path(@room, :mobile => true) %>. <% end %>

<%= @room.name %> requires a name and/or password to join:

<%= form_tag join_bigbluebutton_room_path(@room, :mobile => params[:mobile]) do %>

<% if bigbluebutton_user.nil? %> <%= text_field_tag "user[name]", "" %> <% else %> <%= text_field_tag "user[name]", bigbluebutton_user.name, :readonly => true %> <% end %>

<% if @user_role == :attendee %> <%= password_field_tag "user[password]", @room.attendee_password, :readonly => true %> <% elsif @user_role == :moderator %> <%= password_field_tag "user[password]", @room.moderator_password, :readonly => true %> <% else %> <%= password_field_tag "user[password]", "" %> <% end %>
<%= submit_tag "Submit" %> <% end %>