ref: master
app/views/cms/_general_fields.html.erb
<% if @article.parent and @article.parent.is_a? Blog %> <%= labelled_form_field _('Publication date:'), content_tag(:div, datetime_select(:article, :published_at)) %> <% end %> <%= select_profile_folder(_('Parent folder:'), 'article[parent_id]', profile, @article.parent_id) %> <% if profile.environment.has_license? %> <%= labelled_form_field(_('License'), select(:article, :license_id, options_for_select_with_title([[_('None'), nil]] + profile.environment.licenses.map {|license| [license.name, license.id]}, @article.license ? @article.license.id : nil))) %> <% end %>