Sha256: 239e47223a66daeee3cc7d4b053776db415b94abe521aa0f23c054f37d653f42

Contents?: true

Size: 548 Bytes

Versions: 3

Compression:

Stored size: 548 Bytes

Contents

<%= javascript_include_tag '/grandstand/javascripts/jquery.js', '/grandstand/javascripts/preview.js' %>
<%= form_for(@post, :as => :post, :html => {:class => 'grandstand'}) do |form| %>
  <%= form.text_field(:name, :class => 'oversized text') %>
  <%= raw Mustache.render(Grandstand::Template.post, Grandstand::Post.new(:body => form.text_area(:body, :class => 'wysiwyg')).as_json) %>
  <div class="toolbar">
    <%= button 'Save' %>
    <%= button_link_to('Cancel', return_path || grandstand_posts_path, :class => 'cancel') %>
  </div>
<% end =%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grandstand-0.3.0 app/views/grandstand/posts/preview.html.erb
grandstand-0.2.7 app/views/grandstand/posts/preview.html.erb
grandstand-0.2.6 app/views/grandstand/posts/preview.html.erb