Sha256: 4d6c63ff029780f7daf0fadba836e844a8813820bc1659a42bb80d12a9e0eb67

Contents?: true

Size: 725 Bytes

Versions: 3

Compression:

Stored size: 725 Bytes

Contents

<h1>Editing testy</h1>

<% form_for(@testy, :html => { :multipart => true }) do |f| %>
  <%= f.error_messages %>
  <p>
    <%= f.label :first_name %><br />
    <%= f.text_field :first_name %>
  </p>
  <p>
    <%= f.label :last_name %><br />
    <%= f.text_field :last_name %>
  </p>
  <p>
    <%= f.label :address %><br />
    <%= f.text_field :address %>
  </p>
  <p>
    <%= f.label :some_flag %><br />
    <%= f.check_box :some_flag %>
  </p>
  <p>
    <%= f.label :avatar %><br />
    <%= f.file_field :avatar %>
  </p>
  <p>
    <%= f.label :avatar2 %><br />
    <%= f.file_field :avatar2 %>
  </p>
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @testy %> |
<%= link_to 'Back', testies_path %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
view_mapper-0.3.3 test/views/paperclip/expected_templates/edit.html.erb
view_mapper-0.3.2 test/views/paperclip/expected_templates/edit.html.erb
view_mapper-0.3.1 test/views/paperclip/expected_templates/edit.html.erb