Sha256: 804a9d41dce07792719b0722ceb9d564222cb4861ae7dc1ab1c1c453589564c1

Contents?: true

Size: 680 Bytes

Versions: 6

Compression:

Stored size: 680 Bytes

Contents

<h1>New party</h1>

<%= error_messages_for :party %>

<% form_for(@party) do |f| %>
  <p>
    <h3>What:</h3>
    <%= f.text_field :name %>
  </p>

  <p>
    <h3>Why:</h3>
    <%= f.text_area :description, :rows => 5 %>
  </p>

  <p>
    <h3>Where:</h3>
    <%= f.text_area :location, :rows => 5 %>
  </p>

  <p>
    <h3>When:</h3>
    <h3>From</b><br />
    <%= f.datetime_select :begins_at %>
  </p>

  <p>
    <b>to</b><br />
    <%= f.datetime_select :ends_at %>
  </p>

  <p>
    <h3>Who:</h3>
    <textarea name="recipients" id="party_recipients" rows="5" cols="40"></textarea>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', parties_path %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
win_gui-0.1.6 book_code/novite/app/views/parties/new.html.erb
win_gui-0.1.4 book_code/novite/app/views/parties/new.html.erb
win_gui-0.1.3 book_code/novite/app/views/parties/new.html.erb
win_gui-0.1.2 book_code/novite/app/views/parties/new.html.erb
win_gui-0.1.1 book_code/novite/app/views/parties/new.html.erb
win_gui-0.1.0 book_code/novite/app/views/parties/new.html.erb