diff options
author | Kyle Wilkinson <kai@wikyd.org> | 2011-06-21 15:45:56 -0700 |
---|---|---|
committer | Kyle Wilkinson <kai@wikyd.org> | 2011-06-21 15:45:56 -0700 |
commit | 767346b6941dbdff3aa2ef1f58a87429597da212 (patch) | |
tree | 300680922d3dde9bd9cf0e40cecd697e1e1bfb86 /app/views/admin/blog/posts/_teaser_part.html.erb | |
parent | e23af6bca75532ed7377462f10efa4ca9c002acc (diff) | |
download | refinerycms-blog-767346b6941dbdff3aa2ef1f58a87429597da212.tar.gz refinerycms-blog-767346b6941dbdff3aa2ef1f58a87429597da212.tar.bz2 refinerycms-blog-767346b6941dbdff3aa2ef1f58a87429597da212.zip |
Add button to copy the blog post's body to the teaser editor to get started on creating a custom teaser.
Diffstat (limited to 'app/views/admin/blog/posts/_teaser_part.html.erb')
-rw-r--r-- | app/views/admin/blog/posts/_teaser_part.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/admin/blog/posts/_teaser_part.html.erb b/app/views/admin/blog/posts/_teaser_part.html.erb index 22711a9..d615812 100644 --- a/app/views/admin/blog/posts/_teaser_part.html.erb +++ b/app/views/admin/blog/posts/_teaser_part.html.erb @@ -1,4 +1,11 @@ <div class='page_part' id='page_part_teaser'> <%= f.text_area :custom_teaser, :rows => 20, :class => 'wymeditor widest' -%> + <p> + <span class='clearfix label_inline_with_link'> + <%= link_to t('admin.blog.posts.form.copy_body'), "#", + :id => 'copy_body_link', + :title => t('admin.blog.posts.form.copy_body_help') %> + </span> + </p> </div> |