diff --git a/app/views/cms/_tiny_mce_article.rhtml b/app/views/cms/_tiny_mce_article.rhtml index 853dfc9..eab03fd 100644 --- a/app/views/cms/_tiny_mce_article.rhtml +++ b/app/views/cms/_tiny_mce_article.rhtml @@ -2,7 +2,13 @@ <%= render :file => 'shared/tiny_mce' %> -<%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64')) %> +<% if profile.enterprise? && environment.enabled?('disable_cms') && !@article.name.blank? %> +
+ <%= _('Title') %>: <%= @article.name %> +
+<% else %> + <%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64')) %> +<% end %> <%= labelled_form_field(_('Text'), text_area(:article, 'body', :cols => 40, :style => 'width:99%')) %> -- libgit2 0.21.2