Sha256: 7be911ab9aa579d9650cdccd51b7e69bc0dc5f8512ca823dae0567780638b3f1

Contents?: true

Size: 889 Bytes

Versions: 2

Compression:

Stored size: 889 Bytes

Contents

<%= render :partial => 'admin/shared/configuration_menu' %>

<h1><%= t('rich_editor') %></h1>

<%= form_tag(admin_editor_settings_path, :method => :put) do %>
    <p>
      <label><%= t('enable_rich_editor') %>:</label>
      <%= check_box_tag('preferences[enabled]', '1', Spree::Editor::Config[:enabled]) %>
    </p>
    <p>
      <label><%= t('rich_editor_engine') %>:</label>
      <%= select_tag 'preferences[current_editor]', options_for_select(SpreeEditor::EditorEngines, Spree::Editor::Config[:current_editor])  %>
    </p>
    <p>
      <label><%= t('rich_editor_ids') %>:</label>
      <%= text_field_tag 'preferences[ids]', Spree::Editor::Config[:ids] %>
      <small><%= t('rich_editor_ids_description') %></small>
    </p>
    <p class="form-buttons">
      <%= button t('update') %>
      <%= t("or") %> <%= link_to t("cancel"), admin_editor_settings_url %>
    </p>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_editor-0.50.0 app/views/admin/editor_settings/edit.html.erb
spree_editor-0.40.0 app/views/admin/editor_settings/edit.html.erb