Sha256: 18966fb8e259d40b8358b6eea6bf4dc89d4ab13b2384450b210d3e139f124d08

Contents?: true

Size: 990 Bytes

Versions: 4

Compression:

Stored size: 990 Bytes

Contents

<% page_title "#{@room.name}" %>

<% cache "room_#{@room.id},admin_#{admin?}" do %>
  <%= image_tag( @room.image.url(:large), :class => 'room-image' )  if @room.image.file? %>
  <div id="room-show">
    <% if @room.capacity %>
      <div><strong>Capacity:</strong> <%= @room.capacity %></div>
    <% end %>

    <% unless @room.size.blank? %>
      <div><strong>Size:</strong> <%= @room.size %></div>
    <% end %>

    <% unless @room.seating_configuration.blank? %>
      <div><strong>Seating Configuration:</strong> <%= @room.seating_configuration %></div>
    <% end %>

    <div class="description"><%= display_textile_for @room.description %></div>

    <div class='record-controls'>
      <%= link_to 'Edit', edit_room_path(@room), :class => "editable" if admin? %>
      <%= link_to 'Rooms for this event', rooms_path, :class => "cancelable" %>
    </div>

    <%= render :partial => "open_conference_ware/proposals/sub_list", :locals => {:container => @room} %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 app/views/open_conference_ware/rooms/show.html.erb
open_conference_ware-1.0.0.pre3 app/views/open_conference_ware/rooms/show.html.erb
open_conference_ware-1.0.0.pre2 app/views/open_conference_ware/rooms/show.html.erb
open_conference_ware-1.0.0.pre1 app/views/open_conference_ware/rooms/show.html.erb