Sha256: deef35a6ceadd03f215a57fd3fd99584f9cbca3da034e1b908d5bf168b8b20ec
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 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 => options[:input_html]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polyblock-0.6.1 | app/views/polyblock/_simple_fields_for.html.haml |