Sha256: b0f93fad3461778db315664ca0a1888b80faa0edd495f7cde9c03ad0cc08471d

Contents?: true

Size: 1.89 KB

Versions: 2

Compression:

Stored size: 1.89 KB

Contents

<% if @room.new_record? %>
  <% url = bigbluebutton_server_rooms_path(@server) %>
<% else %>
  <% url = bigbluebutton_server_room_path(@server, @room) %>
<% end %>

<%= form_for [@server, @room], :url => url do |f| %>
  <% if @room.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@room.errors.count, "error") %>:</h2>
      <ul>
      <% @room.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :meetingid %><br />
    <%= f.text_field :meetingid %>
  </div>
  <div class="field">
    <%= f.label :randomize_meetingid %><br />
    <%= f.check_box :randomize_meetingid %>
  </div>
  <div class="field">
    <%= f.label :private %><br />
    <%= f.check_box :private %>
  </div>
  <div class="field">
    <%= f.label :attendee_password %><br />
    <%= f.password_field :attendee_password %>
  </div>
  <div class="field">
    <%= f.label :moderator_password %><br />
    <%= f.password_field :moderator_password %>
  </div>
  <div class="field">
    <%= f.label :welcome_msg %><br />
    <%= f.text_field :welcome_msg %>
  </div>
  <div class="field">
    <%= f.label :logout_url %><br />
    <%= f.text_field :logout_url %>
  </div>
  <div class="field">
    <%= f.label :dial_number %><br />
    <%= f.text_field :dial_number %>
  </div>
  <div class="field">
    <%= f.label :voice_bridge %><br />
    <%= f.text_field :voice_bridge %>
  </div>
  <div class="field">
    <%= f.label :max_participants %><br />
    <%= f.text_field :max_participants %>
  </div>
  <div class="field">
    <%= f.label :external %><br />
    <%= f.check_box :external %>
  </div>
  <div class="field">
    <%= f.label :param %><br />
    <%= f.text_field :param %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bigbluebutton_rails-1.0.0 app/views/bigbluebutton/rooms/_form.html.erb
bigbluebutton_rails-0.1.0 app/views/bigbluebutton/rooms/_form.html.erb