Sha256: 0f41517b8a7bf902b56d2ac4b5a4a3301f321f8b36179e988db4d1f9d51daa88

Contents?: true

Size: 501 Bytes

Versions: 3

Compression:

Stored size: 501 Bytes

Contents

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

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typus-3.1.0.rc6 app/views/admin/templates/_rich_text.html.erb
typus-3.1.0.rc5 app/views/admin/templates/_rich_text.html.erb
typus-3.1.0.rc4 app/views/admin/templates/_rich_text.html.erb