Sha256: c7d6dacdcf43ecbac44da44209a785366aef7d7a7050c71a01f11a3afc3d832a

Contents?: true

Size: 759 Bytes

Versions: 29

Compression:

Stored size: 759 Bytes

Contents

<% content_for :html_head do %>
  <% javascript_tag do %>
  jQuery(function($) {
    $('select.<%= object_name %>_<%= method %>_dhtml_selector').selectbox({width: '96px', dhtml_selector: '<%= object_name %>_<%= method %>'});
  })
  <% end %>
<% end %>
<div class="fields text_editor_fields">
  <% if cms_options[:label] %>
    <%= f.label method, cms_options[:label] %>
  <% else %>
    <%= f.label method %>
  <% end %>
  <%= drop_down_tag :dhtml_selector, options_for_select([["Rich Text", ""],["Simple Text", "disabled"]], cookies[:editorEnabled] == 'true' ? "" : "disabled"), :class => "#{object_name}_#{method}_dhtml_selector", :onchange => "toggleEditor('#{id}', this)" %>
  <div class="editor">
    <%= f.text_editor method, options %>
  </div>
</div>

Version data entries

29 entries across 29 versions & 9 rubygems

Version Path
SFEley-browsercms-3.0.2 app/views/cms/form_builder/_cms_text_editor.html.erb
buzzware-browsercms-3.0.2 app/views/cms/form_builder/_cms_text_editor.html.erb
coredumplings-browsercms-3.0.0 app/views/cms/form_builder/_cms_text_editor.html.erb
we5-browsercms-3.0.1.1 app/views/cms/form_builder/_cms_text_editor.html.erb
webficient-browsercms-3.0.1 app/views/cms/form_builder/_cms_text_editor.html.erb
webficient-browsercms-3.0.2 app/views/cms/form_builder/_cms_text_editor.html.erb
webficient-browsercms-3.0.3 app/views/cms/form_builder/_cms_text_editor.html.erb
webficient-browsercms-3.0.4 app/views/cms/form_builder/_cms_text_editor.html.erb
browsercms-3.1.5 app/views/cms/form_builder/_cms_text_editor.html.erb
browsercms-3.1.4 app/views/cms/form_builder/_cms_text_editor.html.erb
browsercms-3.1.3 app/views/cms/form_builder/_cms_text_editor.html.erb
bf4-browsercms-3.1.0 app/views/cms/form_builder/_cms_text_editor.html.erb
drujensen-browsercms-3.2.0 app/views/cms/form_builder/_cms_text_editor.html.erb
browsercms-3.1.2 app/views/cms/form_builder/_cms_text_editor.html.erb
browsercms-3.1.1 app/views/cms/form_builder/_cms_text_editor.html.erb
browsercms-3.1.0 app/views/cms/form_builder/_cms_text_editor.html.erb
we5-browsercms-3.1.0 app/views/cms/form_builder/_cms_text_editor.html.erb
browsercms-3.0.6 app/views/cms/form_builder/_cms_text_editor.html.erb
browsercms-3.0.5 app/views/cms/form_builder/_cms_text_editor.html.erb
we5-browsercms-3.0.5.1 app/views/cms/form_builder/_cms_text_editor.html.erb