Sha256: 9a3bb43d2c18d7723f526bad40efebf2d41d729a4b551580416becb2c8edbc60

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

<div id="edit" class="editbox">
<div class="container">
  <% remote_form_for :post, :url => post_path(:forum_id => @post.forum_id, :topic_id => @post.topic_id, :id => @post), 
    :html => { :method => :put }, :before => "$('editbox_spinner').show();" do |f| -%>

  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td rowspan="2" width="70%">
        <%= f.text_area :body, :rows => 10, :id => "edit_post_body", :tabindex => 1 %>
      </td>
      <td valign="top">

        <%= link_to('delete post'[], post_path(:forum_id => @post.topic.forum, :topic_id => @post.topic, :id => @post, :page => params[:page]), 
              :class => "utility", :method => :delete, :confirm => "Delete this post?  Are you sure?"[:delete_post_conf]) %>  


        <h5><%= 'Formatting Help'[] %></h5>

        <ul class="help">
          <li><%= '*bold*'[:formatting_bold] %></li>
          <li><%= '_italics_'[:formatting_italics] %></li>
          <li><%= 'bq. <span>(quotes)</span>'[:formatting_blockquote] %></li>
          <li>"IBM":http://www.ibm.com</li>
          <li><%= '* or # <span>(lists)</span>'[:formatting_list] %></li>
        </ul>

      </td>
    </tr>
    <tr>
      <td valign="bottom" style="padding-bottom:15px;">
        <%= ajax_spinner_for "editbox", "spinner_black.gif" %>
        <%= submit_tag 'Save Changes'[], :or => link_to_function('cancel'[], "EditForm.cancel()"), :tabindex => 2 %>
      </td>
    </tr>
  </table>
  <% end -%>
</div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tamed_beast-0.0.3 app/views/posts/_edit.html.erb
tamed_beast-0.0.2 app/views/posts/_edit.html.erb
tamed_beast-0.0.1 app/views/posts/_edit.html.erb