Sha256: d188431fe499b6a3800132c96b5148f64e64a6f9dc616d3ecd3a42d4bfc82a3c
Contents?: true
Size: 294 Bytes
Versions: 1
Compression:
Stored size: 294 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, :as => :ckeditor - else = ff.input :content, :as => :ckeditor, :label => options[:label].is_a?(String) ? options[:label] : name.titleize
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polyblock-0.2.7 | app/views/polyblock/_simple_fields_for.html.haml |