title: set value on textfield
body: <p>In my application I want set value to textfield. I want to do same like here</p>
  
  <pre><code>&lt;input type="text" value ="something"&gt;
  </code></pre>
  
  <p>My question how could i do the same on rails view.</p>
  
  <pre><code>   &lt;h1&gt;New location&lt;/h1&gt;
  
  &lt;% form_for(@location) do |f| %&gt;
    &lt;%=  f.error_messages %&gt;
  
    &lt;p&gt;
      &lt;%= f.label :address %&gt;&lt;br /&gt;
      &lt;%=  f.text_field :address %&gt;
  
    &lt;/p&gt;
    &lt;p&gt;
      &lt;%= f.label :latitude %&gt;&lt;br /&gt;
      &lt;%= f.text_field :latitude %&gt;
    &lt;/p&gt;
    &lt;p&gt;
      &lt;%= f.label :longitude %&gt;&lt;br /&gt;
      &lt;%= f.text_field :longitude %&gt;
    &lt;/p&gt;
    &lt;p&gt;
      &lt;%= f.submit 'Create' %&gt;
    &lt;/p&gt;
  &lt;% end %&gt;
  
  &lt;%= link_to 'Back', locations_path %&gt;
  </code></pre>