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