Sha256: 284cba01eca244f4b27e99c60599113793c3b45d09c9e3e4a61bfdf522bb27b6

Contents?: true

Size: 869 Bytes

Versions: 1

Compression:

Stored size: 869 Bytes

Contents

<% content_for :thredded_page_title, 'Edit Post' %>
<% content_for :thredded_page_id, 'thredded_edit_post' %>

<header>
  <nav>
    <ul class="breadcrumbs">
      <li><%= link_to 'Forums', thredded.root_path %></li>
      <li><%= link_to messageboard.name,
        messageboard_topic_posts_path(messageboard, topic) %></li>
      <li>
        <span>
          Editing Post - <%= link_to "##{@post.id}",
          messageboard_topic_posts_path(messageboard, topic) + "#post_#{@post.id}" %>
        </span>
      </li>
    </ul>
  </nav>
</header>

<div class="forms">
  <%= nested_form_for([messageboard, topic, @post], url: { action: 'update' },
    html: { method: :put, class: :topic_form }) do |f| %>
    <ul>
      <%= render 'form', f: f %>

      <li class="submit">
        <%= f.submit 'Update Post', { tabindex: 2 } %>
      </li>
    </ul>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thredded-0.0.12 app/views/thredded/posts/edit.html.erb