diff --git a/views/cms/community_hub_plugin/_hub.html.erb b/views/cms/community_hub_plugin/_hub.html.erb new file mode 100644 index 0000000..50b66c2 --- /dev/null +++ b/views/cms/community_hub_plugin/_hub.html.erb @@ -0,0 +1,37 @@ +
+

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

+ <%= required_fields_message %> +
+ <%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %> +
+
+ <%= render :file => 'shared/tiny_mce' %> + <%= required labelled_form_field(_('Description'), text_area(:article, 'body', :style => 'width: 100%;', :class => 'mceEditor')) %> +
+
+
+ <%= _('General Streaming Settings:') %> +
+
+
+ <%= _('Twitter Settings:') %> +
+
+ <%= check_box(:article, :twitter_enabled) %> <%= _("Turn on TWITTER") %> +
+
+ <%= required labelled_form_field(_('Twitter\'s Hashtags, comma separated words
(example: participa.br,participabr,arenanetmundial,netmundial'), text_field(:article, :twitter_hashtags)) %>
+
+
+ <%= required labelled_form_field(_('Twitter\'s consumer key'), text_field(:article, :twitter_consumer_key)) %> +
+
+ <%= required labelled_form_field(_('Twitter\'s consumer secret'), text_field(:article, :twitter_consumer_secret)) %> +
+
+ <%= required labelled_form_field(_('Twitter\'s access token'), text_field(:article, :twitter_access_token)) %> +
+
+ <%= required labelled_form_field(_('Twitter\'s access token secret'), text_field(:article, :twitter_access_token_secret)) %> +
+
diff --git a/views/cms/community_hub_plugin/_hub.rhtml b/views/cms/community_hub_plugin/_hub.rhtml deleted file mode 100644 index 50b66c2..0000000 --- a/views/cms/community_hub_plugin/_hub.rhtml +++ /dev/null @@ -1,37 +0,0 @@ -
-

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

- <%= required_fields_message %> -
- <%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %> -
-
- <%= render :file => 'shared/tiny_mce' %> - <%= required labelled_form_field(_('Description'), text_area(:article, 'body', :style => 'width: 100%;', :class => 'mceEditor')) %> -
-
-
- <%= _('General Streaming Settings:') %> -
-
-
- <%= _('Twitter Settings:') %> -
-
- <%= check_box(:article, :twitter_enabled) %> <%= _("Turn on TWITTER") %> -
-
- <%= required labelled_form_field(_('Twitter\'s Hashtags, comma separated words
(example: participa.br,participabr,arenanetmundial,netmundial'), text_field(:article, :twitter_hashtags)) %>
-
-
- <%= required labelled_form_field(_('Twitter\'s consumer key'), text_field(:article, :twitter_consumer_key)) %> -
-
- <%= required labelled_form_field(_('Twitter\'s consumer secret'), text_field(:article, :twitter_consumer_secret)) %> -
-
- <%= required labelled_form_field(_('Twitter\'s access token'), text_field(:article, :twitter_access_token)) %> -
-
- <%= required labelled_form_field(_('Twitter\'s access token secret'), text_field(:article, :twitter_access_token_secret)) %> -
-
-- libgit2 0.21.2