Sha256: d29d472433e63a42039f8df1bfb8d988a1cbeff85df74fb2866fd906c537559f

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

- @page_title = 'Locations'
- @page_title += ' - Calendar - ' + default_page_title

- include_stylesheet "admin/event_calendar"

#event_venues_table.outset      
  %table#event_venues.index{:cellspacing=>"0", :border=>"0", :cellpadding=>"0"}
    %thead
      %tr
        - render_region :thead do |thead|
          - thead.title_header do
            %th.event 
              %strong Place
          - thead.location_header do
            %th.location Address
          - thead.url_header do
            %th.keywords Website
          - thead.modify_header do
            %th.modify Modify
    %tbody
      - if @event_venues.any?
        - @event_venues.each do |event_venue|
          = render :partial => 'event_venue', :object => event_venue
      - else
        %tr
          %td.note{:colspan => admin.event_venue.index.tbody.length} 
            No places in the system yet. You can create one here or when you add an event. 

  - render_region :bottom do |bottom|
    - bottom.buttons do
      #actions
        = pagination_for @event_venues
        %ul
          %li= link_to image('plus') + " " + "new venue", new_admin_event_venue_url
          %li= link_to "évent list", admin_events_url
          %li= link_to "calendar list", admin_calendars_url

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.1.1 app/views/admin/event_venues/index.html.haml