Sha256: ad993c470a1b6bb242b57d16437d65954eef6850bc4d649ef1ab7a58ad04068b

Contents?: true

Size: 766 Bytes

Versions: 36

Compression:

Stored size: 766 Bytes

Contents

- in_section :events
- content_for :header do
  %h1 Add a new event
= render "shared/error_messages", :target => @event
.row
  .span8.offset2
    .form-horizontal
      = form_for( @event, :html => { :class => 'quiz-form' }) do |form|
        .control-group
          =form.label :name, "I'm organizing", :class => 'control-label'
          .controls
            = form.text_field :name, :placeholder=>"Event name"
        = form.fields_for :venue, @event.venue do |venue_form|
          .control-group
            =venue_form.label :name, "that happens at", :class => 'control-label'
            .controls
              = venue_form.text_field :name, :placeholder=>"Venue name"
        .form-actions
          = form.submit "Create Event", :class => 'btn btn-large'

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.10 app/views/events/new.html.haml
artfully_ose-1.2.0.pre.9 app/views/events/new.html.haml
artfully_ose-1.2.0.pre.8 app/views/events/new.html.haml
artfully_ose-1.2.0.pre.7 app/views/events/new.html.haml
artfully_ose-1.2.0.pre.6 app/views/events/new.html.haml
artfully_ose-1.2.0.pre.5 app/views/events/new.html.haml
artfully_ose-1.2.0.pre.4 app/views/events/new.html.haml
artfully_ose-1.2.0.pre.3 app/views/events/new.html.haml
artfully_ose-1.2.0.pre.2 app/views/events/new.html.haml
artfully_ose-1.2.0.pre.1 app/views/events/new.html.haml
artfully_ose-1.2.0.pre app/views/events/new.html.haml
artfully_ose-1.1.0 app/views/events/new.html.haml
artfully_ose-1.1.0.rc2 app/views/events/new.html.haml
artfully_ose-1.1.0.rc1 app/views/events/new.html.haml
artfully_ose-1.0.0.rc4 app/views/events/new.html.haml
artfully_ose-1.0.0.rc3 app/views/events/new.html.haml