<% if @room.new_record? %> <% url = bigbluebutton_rooms_path %> <% else %> <% url = bigbluebutton_room_path(@room) %> <% end %> <%= form_for setup_bigbluebutton_room(@room), :url => url do |f| %> <% if @room.errors.any? %>

<%= pluralize(@room.errors.count, "error") %>:

<% end %>
<%= f.label :id %>
<%= @room.id %>
<%= f.label :server_id %>
<%= f.text_field :server_id %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :meetingid %>
<%= f.text_field :meetingid %>
<%= f.label :private %>
<%= f.check_box :private %>
<%= f.label :attendee_password %>
<%= f.text_field :attendee_password %>
<%= f.label :moderator_password %>
<%= f.text_field :moderator_password %>
<%= f.label :welcome_msg %>
<%= f.text_field :welcome_msg %>
<%= f.label :logout_url %>
<%= f.text_field :logout_url %>
<%= f.label :dial_number %>
<%= f.text_field :dial_number %>
<%= f.label :voice_bridge %>
<%= f.text_field :voice_bridge %>
<%= f.label :max_participants %>
<%= f.text_field :max_participants %>
<%= f.label :external %>
<%= f.check_box :external %>
<%= f.label :param %>
<%= f.text_field :param %>
<%= f.label :record %>
<%= f.check_box :record %>
<%= f.label :duration %>
<%= f.text_field :duration %>
Metadata (by default we have 10 metadata in this view, but it's not limited to it)
<%= f.fields_for :metadata do |metadata_form| %> <%= metadata_form.label :name %> <%= metadata_form.text_field :name %> <%= metadata_form.label :content %> <%= metadata_form.text_field :content %> <%= metadata_form.check_box :_destroy %> <%= metadata_form.label :_destroy, "Remove Metadata" %>
<% end %>
<%= f.submit %>
<% end %>