Sha256: 9e71ecbcc1f6d8bf4f72b2b9d698c5e5348e9e060f09b8068518d440f47694b7

Contents?: true

Size: 968 Bytes

Versions: 5

Compression:

Stored size: 968 Bytes

Contents

-box do
  %h3= :edit_event.l
  = error_messages_for :event
  = form_for(:event, :url => event_path(@event), :html => {:method => :put, :class => "MainForm"} ) do |f|
    %label= :name.l
    = f.text_field :name
    
    %label= :description.l
    = f.text_area :description, :size => "69x10", :class => "rich_text_editor"
    
    %label= :start_time.l
    = f.datetime_select :start_time
    
    %label= :end_time.l
    = f.datetime_select :end_time

    %label
      = f.check_box :allow_rsvp
      =:allow_rsvp.l
      %br
      %em
        =:when_checked_users_will_be_able_to_rsvp_for_this_event.l
    
    %label= :location.l
    = f.text_field :location

    %h3= :metro_area.l
    = render :partial => 'shared/location_chooser', :locals => {:selected_country => @country_id, :selected_state => @state_id, :selected_metro_area => @metro_area_id, :states => @states, :metro_areas => @metro_areas}

    %p
      = submit_tag :save.l

  = link_to :back.l, :back

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/events/edit.html.haml
community_engine-2.3.1 app/views/events/edit.html.haml
community_engine-2.3.0 app/views/events/edit.html.haml
community_engine-2.1.0 app/views/events/edit.html.haml
community_engine-2.0.0 app/views/events/edit.html.haml