Sha256: 13a5b72c9b39c643fc6eaefbe5fad9419d8c8b60629ecb3c5963c21a8b41993c

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 Bytes

Contents

<h1>New 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 'Create' %>
  </p>
<% end %>

<%= 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/new.html.erb