Sha256: a0ffb63c0addb7eaab9ebec1178ccba0640eecc6e4bf1a70317a428278e3446a
Contents?: true
Size: 781 Bytes
Versions: 2
Compression:
Stored size: 781 Bytes
Contents
<% content_for :javascripts do %> <%= javascript_include_tag '/vendor/ckeditor/ckeditor' %> <% end %> <% custom = { :rows => @resource.typus_options_for(:form_rows), :class => "ckeditor" } options = options.merge!(custom) %> <% input = "#{@resource.model_name.underscore.gsub("/", "_")}_#{attribute}" label_text << <<-DATA <small> #{link_to "Insert picture", {:controller => "/admin/assets", :layout => 'admin/headless', :input => input}, {:class => "iframe", :style => "font-size: 10px; background: black; color: white; padding: 2px 5px; -moz-border-radius: 3px; -webkit-border-radius: 3px;"}} </small> DATA %> <li id="<%= attribute %>"> <%= form.label attribute, label_text.html_safe %> <%= form.text_area attribute, options %> </li>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typus-3.1.0.rc8 | app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb |
typus-3.1.0.rc7 | app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb |