Sha256: 7247b432238565ca94ce2a349d4ad1c2d32dfd9dc28824e4a6498202cda954f7
Contents?: true
Size: 440 Bytes
Versions: 11
Compression:
Stored size: 440 Bytes
Contents
= f.simple_fields_for name do |ff| = ff.input_field :name, :as => :hidden, :value => name.to_s - if !options[:label] = ff.input_field :content, options[:input_html].merge({:as => :ckeditor}) - else = ff.input :content, :as => :ckeditor, :label => options[:label].is_a?(String) ? options[:label] : name.to_s.titleize, :input_html => name.is_a?(String) ? options[:input_html].merge({:value => pb.content}) : options[:input_html]
Version data entries
11 entries across 11 versions & 1 rubygems