app/views/thredded/posts/edit.html.erb in thredded-0.2.2 vs app/views/thredded/posts/edit.html.erb in thredded-0.3.0
- old
+ new
@@ -1,13 +1,17 @@
<% content_for :thredded_page_title, 'Edit Post' %>
<% content_for :thredded_page_id, 'thredded--edit-post' %>
+<% content_for :thredded_breadcrumbs do %>
+ <ul class="thredded--navigation-breadcrumbs">
+ <li><%= link_to t('thredded.nav.edit_post'), edit_post_path(@post) %></li>
+ </ul>
+<% end %>
+
<%= thredded_page do %>
<section class="thredded--main-section">
- <h3 class="thredded--post-form--title">Edit Post</h3>
-
<%= render 'thredded/posts/form',
messageboard: messageboard,
topic: topic,
post: @post,
- button_text: 'Update Post' %>
+ button_text: t('thredded.posts.form.update_btn') %>
</section>
<% end %>