From bfb37bd0c113d3b920f8dec608233043d1aa3299 Mon Sep 17 00:00:00 2001 From: Marcelo JĂșnior Date: Wed, 17 Dec 2014 14:05:53 -0300 Subject: [PATCH] community_hub: added field for logo upload --- views/cms/community_hub_plugin/_hub.html.erb | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) diff --git a/views/cms/community_hub_plugin/_hub.html.erb b/views/cms/community_hub_plugin/_hub.html.erb index a930611..906eae2 100644 --- a/views/cms/community_hub_plugin/_hub.html.erb +++ b/views/cms/community_hub_plugin/_hub.html.erb @@ -1,13 +1,23 @@
+

<%= _("HUB Settings:") %>

+ <%= required_fields_message %> +
<%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %>
+
<%= required labelled_form_field(_('Description'), text_area(:article, 'body', :style => 'width: 99%;')) %>
+ + <%= fields_for 'article[image_builder]', @article.image do |i| %> + <%= file_field_or_thumbnail(_('Image:'), @article.image, i) %> + <% end %> +
+

<%= _('Twitter Settings:') %>

-- libgit2 0.21.2