From e1390a0d72e2dc35f1306d11e1e756c138903572 Mon Sep 17 00:00:00 2001 From: Kyle Wilkinson Date: Thu, 16 Jun 2011 22:48:30 -0700 Subject: Add field to edit custom url on BlogPosts. --- app/views/admin/blog/posts/_form.html.erb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/views/admin/blog') 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 @@

<%= t('.published_at') %>

<%= f.datetime_select :published_at %> + +
+ + <%= f.label :custom_url, t('.custom_url') %> + <%= refinery_help_tag t('.custom_url_help') %> + + <%= f.text_field :custom_url, :class => "widest" %> +
+
<%= render :partial => '/seo_meta/form', :locals => {:form => f} %> -- cgit v1.2.3