Sha256: de5167c7a139810c823392c740b1ec0fcd973286b9581fd8ba1251d4b7e135fd

Contents?: true

Size: 1.36 KB

Versions: 17

Compression:

Stored size: 1.36 KB

Contents

- @page_title = 'Add a location'
- @page_title += ' - ' + t('event_venues_admin.defaults.title') + ' - ' + 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
      = t('event_venues_admin.new.title')
    %p
      = t('event_venues_admin.new.text')

  - 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 t('event_venues_admin.new.create'), :name => "commit", :class => "button"
              = save_model_and_continue_editing_button(@event_venue)
              = t('defaults.or')
              = link_to t('defaults.cancel'), admin_event_venues_url

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.5.6 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.5.5 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.5.4 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.5.3 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.5.1 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.5.0 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.14 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.12 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.10 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.9 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.8 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.7 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.6 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.5 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.2 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.1 app/views/admin/event_venues/new.html.haml
radiant-event_calendar-extension-1.4.0 app/views/admin/event_venues/new.html.haml