Sha256: fe7dcf01c0f2e6a04ff9256b31427dfb49b98ba9f6b2b15231ab6b3ace7172c9

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

<% content_for :title do %>
  <%= button_link_to('Cancel', return_path || grandstand_post_path(@post)) %>
<% end %>
<h2><%= @post.name %></h2>
<%= form_for(@post, :as => :post, :html => {:method => :put}, :url => grandstand_post_path(@post)) do |form| %>
  <%= render :partial => 'form', :locals => {:form => form} %>
  <div class="toolbar">
    <%= button 'Save', :default => true %>
    <%= button_link_to('Cancel', return_path || grandstand_posts_path, :class => 'cancel') %>
  </div>
<% end =%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grandstand-0.3.0 app/views/grandstand/posts/edit.html.erb