%= form_for @recording, :url => bigbluebutton_recording_path(@recording) do |f| %>
<% if @recording.errors.any? %>
<%= pluralize(@recording.errors.count, "error") %>:
<% @recording.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :id %>
<%= @recording.id %>
<%= f.label :recordid %>
<%= f.text_field :recordid, :disabled => true %>
<%= f.label :name %>
<%= f.text_field :name, :disabled => true %>
<%= f.label :room_id %>
<%= f.text_field :room_id, :disabled => true %>
<%= f.label :server_id %>
<%= f.text_field :server_id, :disabled => true %>
<%= f.label :published %>
<%= f.check_box :published, :disabled => true %>
<%= f.label :available %>
<%= f.check_box :available, :disabled => true %>
<%= f.label :start_time %>
<%= f.text_field :start_time, :disabled => true %>
<%= f.label :end_time %>
<%= f.text_field :end_time, :disabled => true %>
<%= f.label :size %>
<%= f.text_field :size, :disabled => true %>
<%= BigbluebuttonRecording.human_attribute_name(:metadata) %>:
<% @recording.metadata.each do |metadata| %>
<%= metadata.attributes.except("id", "owner_id", "owner_type", "updated_at", "created_at") %>,
<% end %>
<%= BigbluebuttonRecording.human_attribute_name(:playback_formats) %>:
<% @recording.playback_formats.each do |format| %>
<%= format.attributes.except("id", "recording_id", "updated_at", "created_at") %>,
<% end %>
<%= f.submit %>
<% end %>