Sha256: 0ce54ad2cc73548f26aa531151b6913dcc50c31c4b0425a8201d7d803e2e5a73
Contents?: true
Size: 404 Bytes
Versions: 59
Compression:
Stored size: 404 Bytes
Contents
<h1>Editing post</h1> <%= error_messages_for :post %> <% form_for(:post, :url => post_path(@post), :html => { :method => :put }) do |f| %> <p> <b>Title</b><br /> <%= f.text_field :title %> </p> <p> <b>Body</b><br /> <%= f.text_area :body %> </p> <p> <%= submit_tag "Update" %> </p> <% end %> <%= link_to 'Show', post_path(@post) %> | <%= link_to 'Back', posts_path %>
Version data entries
59 entries across 59 versions & 19 rubygems