Sha256: 2302c95678e2e7c787dc489beec665ed142704bf016c23d32e9c650fd21776e4

Contents?: true

Size: 942 Bytes

Versions: 5

Compression:

Stored size: 942 Bytes

Contents

-box do
  %h3= :new_event.l
  = error_messages_for :event
  = form_for(:event, :url => events_path, :html => {: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 :create.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/new.html.haml
community_engine-2.3.1 app/views/events/new.html.haml
community_engine-2.3.0 app/views/events/new.html.haml
community_engine-2.1.0 app/views/events/new.html.haml
community_engine-2.0.0 app/views/events/new.html.haml