aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/blog/posts/_form.html.erb
diff options
context:
space:
mode:
authorKyle Wilkinson <kai@wikyd.org>2011-06-16 22:48:30 -0700
committerKyle Wilkinson <kai@wikyd.org>2011-06-16 22:52:40 -0700
commite1390a0d72e2dc35f1306d11e1e756c138903572 (patch)
treec636f7d56e9c9d03c987d0a54a77af8238383739 /app/views/admin/blog/posts/_form.html.erb
parentec405cdbea1d286da947b3b134dbc156b3e88f8e (diff)
downloadrefinerycms-blog-e1390a0d72e2dc35f1306d11e1e756c138903572.tar.gz
refinerycms-blog-e1390a0d72e2dc35f1306d11e1e756c138903572.tar.bz2
refinerycms-blog-e1390a0d72e2dc35f1306d11e1e756c138903572.zip
Add field to edit custom url on BlogPosts.
Diffstat (limited to 'app/views/admin/blog/posts/_form.html.erb')
-rw-r--r--app/views/admin/blog/posts/_form.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/admin/blog/posts/_form.html.erb b/app/views/admin/blog/posts/_form.html.erb
index c0467fd..abff4f2 100644
--- a/app/views/admin/blog/posts/_form.html.erb
+++ b/app/views/admin/blog/posts/_form.html.erb
@@ -73,6 +73,15 @@
</ul>
<h3><%= t('.published_at') %></h3>
<%= f.datetime_select :published_at %>
+
+ <div class='field'>
+ <span class='label_with_help'>
+ <%= f.label :custom_url, t('.custom_url') %>
+ <%= refinery_help_tag t('.custom_url_help') %>
+ </span>
+ <%= f.text_field :custom_url, :class => "widest" %>
+ </div>
+
</div>
<div class='hemisquare right_side'>
<%= render :partial => '/seo_meta/form', :locals => {:form => f} %>