Sha256: 6f699a38b4c8f2981cec87c5a1413997df363c88ffc077ee4edd003d49473529

Contents?: true

Size: 663 Bytes

Versions: 1

Compression:

Stored size: 663 Bytes

Contents

<h1>Editing test_model</h1>

<% form_for(@test_model) do |f| %>
  <%= f.error_messages %>
  <p>
    <%= f.label :first_name %><br />
    <%= text_field_with_auto_complete :test_model, :first_name, {}, { :method => :get } %>
  </p>
  <p>
    <%= f.label :last_name %><br />
    <%= text_field_with_auto_complete :test_model, :last_name, {}, { :method => :get } %>
  </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.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @test_model %> |
<%= link_to 'Back', test_models_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
view_mapper-0.3.4 test/views/auto_complete/expected_templates/edit.html.erb