Sha256: 75ac544419beb6b0b668091ecbdc463f361c9fbb18b4e5fb1b5f274228db7fc8

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

- include_stylesheet "admin/calendar"

- render_region :main do |main|
  - main.edit_header do
    %h1
      Edit Location
    %p
      Remember that changes you make here will affect the display of every event in this location.

  - 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 "Update Venue", :name => "commit", :class => "button"
              = save_model_and_continue_editing_button(@event_venue)
              or
              = link_to 'Cancel', admin_event_venues_url

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.0.2 app/views/admin/event_venues/edit.html.haml
radiant-event_calendar-extension-1.0.1 app/views/admin/event_venues/edit.html.haml
radiant-event_calendar-extension-1.0.0 app/views/admin/event_venues/edit.html.haml