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