Sha256: f124645c0bb7595bdbd8023258b8ccd4886c56f1ab6772711b11d281e76a3c61

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

<h1>Editing post</h1>

<% form_for(@post) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </p>
  <p>
    <%= f.label :body %><br />
    <%= f.text_field :body %>
  </p>
  <p>
    <%= f.label :user_id %><br />
    <%= f.text_field :user_id %>
  </p>
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @post %> |
<%= link_to 'Back', posts_path %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
transactionata-0.3.0 test/rails2/app/views/posts/edit.html.erb
transactionata-0.2.0 test/rails2/app/views/posts/edit.html.erb
transactionata-0.1.0 test/rails2/app/views/posts/edit.html.erb