Sha256: 8e1491b800bf03bc8b351c6fa0da839871d973a69bf750db47506177b1d47528

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

<h1>New contact</h1>

<% f = form_for(@contact) %>
  <%= f.start_form %>
  <%= f.error_messages %>
  <p>
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </p>
  <p>
    <%= f.label :summary %><br />
    <%= f.text_area :summary %>
  </p>
  <p>
    <%= f.label :birthday %><br />
    <%= f.date_select :birthday %>
  </p>
  <p>
    <%= f.label :platform %><br />
    <%= f.radio_button :platform, 'Mac'   %>Mac
    <%= f.radio_button :platform, 'PC'    %>PC
    <%= f.radio_button :platform, 'Linux' %>Linux
  </p>
  <p>
    <%= f.label :editor %><br />
    <%= f.select :editor, ['Vim','Emacs','TextMate','Other'] %>
  </p>
  <p>
    <%= f.label :url %><br />
    <%= f.text_field :url, size: '60' %>
  </p>
  <p>
    <%= f.label :address %><br />
    <%= f.text_field :address %>
  </p>
  <p>
    <%= f.label :phone %><br />
    <%= f.text_field :phone %>
  </p>
  <p>
    <%= f.label :private %><br />
    <%= f.check_box :private %>
  </p>
  <p>
    <%= f.submit 'Create' %>
  </p>
  <%= f.end_form %>

<%= link_to 'Back', resource(:contacts) %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dubious-0.0.3-java examples/contacts/app/views/contacts/new.html.erb
dubious-0.0.2-java examples/contacts/app/views/contacts/new.html.erb
dubious-0.0.1-java examples/contacts/app/views/contacts/new.html.erb