diff --git a/app/views/cms/_text_fields.html.erb b/app/views/cms/_text_fields.html.erb new file mode 100644 index 0000000..b42a8ac --- /dev/null +++ b/app/views/cms/_text_fields.html.erb @@ -0,0 +1 @@ +<%= labelled_form_field(_('Publish date'), date_field('article[published_at]', DateTime.current, '%Y-%m-%d', {:max_date => '+0d', :date_format => 'yy-mm-dd'}, {:id => "article_published_at"})) %> -- libgit2 0.21.2