Sha256: 6eba2a640044b4fd47e3b74303e19cd6b4f18cf628e0fa5c1cbea53ebeed5a71

Contents?: true

Size: 626 Bytes

Versions: 14

Compression:

Stored size: 626 Bytes

Contents

<% content_for :javascripts do %>
  <script type="text/javascript">
    var CKEDITOR_BASEPATH = '/assets/ckeditor/';
  </script>

  <%= javascript_include_tag 'ckeditor/ckeditor' %>
  <%= javascript_include_tag 'ckeditor/adapters/jquery' %>

  <script type="text/javascript">
    $(document).ready(function() {
      $(".rich_text").ckeditor();
    });
  </script>
<% end %>

<%
  custom = { :rows => @resource.typus_options_for(:form_rows), :class => "rich_text" }
  options = options.merge!(custom)
%>

<li id="<%= attribute_id %>">
  <%= form.label attribute, label_text %>
  <%= form.text_area attribute, options %>
</li>

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
brainsome_typus-4.0.0.beta13 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta12 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta11 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta10 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta9 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta8 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta7 app/views/admin/templates/_text_with_ckeditor.html.erb
typus-rails4-4.0.0.beta6 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta6 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta5 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta4 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta3 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta2 app/views/admin/templates/_text_with_ckeditor.html.erb
brainsome_typus-4.0.0.beta1 app/views/admin/templates/_text_with_ckeditor.html.erb