Sha256: 5e23824d7201ca5906ccc9d86331ad51d96d5a4f99c75e817faed5aa3fda4dde

Contents?: true

Size: 522 Bytes

Versions: 2

Compression:

Stored size: 522 Bytes

Contents

<% content_for :javascripts do %>
  <%= javascript_include_tag 'ckeditor/ckeditor' %>
<% end %>

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

<input type="hidden"
       id="pageListJSON"
       value="[<%= Page.all.map { |p| "['#{p.to_label}', '/pages/#{p.respond?(:permalink) p.permalink : p.id}']" }.join(", ") %>]">

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typus-3.1.0.rc11 app/themes/default/views/admin/templates/_text_with_ckeditor.html.erb
typus-3.1.0.rc10 app/themes/default/views/admin/templates/_text_with_ckeditor.html.erb