Sha256: 734d1410a36b9b7f78981d2d520998b4952361b4af4be8ab49959f1e508f7e33

Contents?: true

Size: 1.28 KB

Versions: 12

Compression:

Stored size: 1.28 KB

Contents

- @page_title = 'Add a location'
- @page_title += ' - Calendar - ' + default_page_title

- include_stylesheet "admin/event_calendar"
- include_javascript "admin/event_calendar"

- if defined? TinyMceFilter
  - include_javascript "tiny_mce/tiny_mce"
  - include_javascript "tiny_mce/tiny_mce_settings"
  - include_javascript "tiny_mce/application"

- render_region :main do |main|
  - main.edit_header do
    %h1
      Add an event location
    %p
      You can also do this whenever you enter a new event.

  - main.edit_form do
    - form_for [:admin, @event_venue] do |f|

      = f.hidden_field :lock_version
      = render_region :form_top

      = error_messages_for :event_venue

      #venue_form.form-area
        - render_region :form do |form|
          - form.edit_event_venue do
            .new_venue
              = render :partial => 'form', :locals => {:f => f}
              
        - render_region :form_bottom do |form_bottom|
          - form_bottom.edit_timestamp do
            = updated_stamp @event_venue
          - form_bottom.edit_buttons do
            %p.buttons
              = f.submit "Create Venue", :name => "commit", :class => "button"
              = save_model_and_continue_editing_button(@event_venue)
              or
              = link_to 'Cancel', admin_event_venues_url

Version data entries

12 entries across 12 versions & 1 rubygems

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