aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/blog/posts/_form.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/blog/posts/_form.html.erb')
-rw-r--r--app/views/admin/blog/posts/_form.html.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/admin/blog/posts/_form.html.erb b/app/views/admin/blog/posts/_form.html.erb
index abff4f2..4eb4cf4 100644
--- a/app/views/admin/blog/posts/_form.html.erb
+++ b/app/views/admin/blog/posts/_form.html.erb
@@ -16,6 +16,9 @@
<li class='ui-state-default'>
<%= link_to "Body", "#page_part_body" %>
</li>
+ <li class='ui-state-default'>
+ <%= link_to "Teaser", "#page_part_teaser" %>
+ </li>
<% Refinery::Blog.tabs.each_with_index do |tab, tab_index| %>
<li class='ui-state-default' id="custom_<%= tab.name %>_tab">
<%= link_to tab.name.titleize, "#custom_tab_#{tab_index}" %>
@@ -31,6 +34,11 @@
:f => f,
:part_index => (part_index += 1),
} -%>
+ <%= render :partial => 'teaser_part',
+ :locals => {
+ :f => f,
+ :part_index => (part_index += 1),
+ } -%>
<% Refinery::Blog.tabs.each_with_index do |tab, tab_index| %>
<div class='page_part' id='<%= "custom_tab_#{tab_index}" %>'>
<%= render :partial => tab.partial, :locals => {:f => f} %>