Sha256: 2f29345058adb25d1372a3b0d29138bbf43bfd78a196f5344bcf87734f0030a1
Contents?: true
Size: 539 Bytes
Versions: 8
Compression:
Stored size: 539 Bytes
Contents
= simple_form_for @item, url: fae.update_content_block_path(slug: @item.slug), method: :put do |f| header.content-header.js-content-header == render 'fae/shared/form_header', header: @item main.content = fae_input f, :title <% @attributes.each do |attr, type| -%> <% if ["Fae::TextArea", "Fae::TextField"].include? type -%> = fae_content_form f, :<%= attr %> <% elsif "Fae::Image" == type -%> = fae_image_form f, :<%= attr %> <% elsif "Fae::File" == type -%> = fae_file_form f, :<%= attr %> <% end -%> <% end -%>
Version data entries
8 entries across 8 versions & 1 rubygems