Sha256: ea713110da0a1f695cede628d6822297cad9e334a3f01d4b37bda48748e843af
Contents?: true
Size: 702 Bytes
Versions: 4
Compression:
Stored size: 702 Bytes
Contents
= simple_form_for @item, url: fae.update_content_block_path(slug: @item.slug), method: :put do |f| section.main_content-header .main_content-header-wrapper == render 'fae/shared/form_header', header: @item == render 'fae/shared/form_buttons', f: f .main_content-sections section.main_content-section .main_content-section-area = 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
4 entries across 4 versions & 1 rubygems