Sha256: 4384e3b82af97150a9089f931aeb4812bff456a243aed7751021ec78ca4c91f6

Contents?: true

Size: 1.68 KB

Versions: 12

Compression:

Stored size: 1.68 KB

Contents

- or_choose ||= false
- event_venue ||= EventVenue.new

.main
  %p.title
    = f.label :title, "Venue or location title"
    = f.text_field :title, :class => 'textbox'
    - if or_choose && @venues.any?
      = link_to "choose an existing place", '#', :class => 'swapper', :rel => 'toggle[venue,new_venue]'
    - else
      %span.note
        We remember these details for you, so changes here affect every event occurring in this place
      
  - if or_choose && @venues.any?
    %p.note
      If you've used this place before, please 
      = link_to "choose it from the list", '#', :class => 'swapper', :rel => 'toggle[venue,new_venue]'
      so that you can update it globally

.metadata
  %p.keywords
    = f.label :keywords
    = f.text_field :keywords, :class => "textbox"

.main
  %p.location
    = f.label :location, "Location tag"
    = f.text_field :location, :class => "textbox"
    %span.note
      This is used to recognise the venue in a calendar feed. It can be postcode, grid reference or any distinctive string.

  %p.address
    - if defined? TinyMceFilter
      = link_to image('mce', :alt=> 'toolbar icon'), '#', :class => 'toggleMCE', :rel => (@event ? "toggle[event_event_venue_attributes_address]" : "toggle[event_venue_address]")
    = f.label :address, "Address or directions"
    = f.text_area :address, :class => 'textarea'

.metadata
  %p.venue_postcode
    = f.label :postcode, "Postcode or grid reference"
    = f.text_field :postcode, :class => 'textbox place'
    %span.note
      This is only required if your address is unusual or you want these events to show on a map in a particular place.

  %p.url
    = f.label :url, "Location url"
    = f.text_field :url, :class => 'textbox'

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.3.9 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.3.8 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.3.7 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.3.6 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.3.5 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.3.4 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.3.3 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.3.2 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.3.1 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.3.0 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.1.2 app/views/admin/event_venues/_form.html.haml
radiant-event_calendar-extension-1.1.1 app/views/admin/event_venues/_form.html.haml