Sha256: 23f4a4edabec8c69d317ad8ca075eecd6260fcc12bb2fded7f7b9e6c9f637898
Contents?: true
Size: 1.47 KB
Versions: 6
Compression:
Stored size: 1.47 KB
Contents
= simple_form_for(['admin', @item]) do |f| header.content-header.js-content-header = render 'fae/shared/form_header', header: @klass_name, languages: true main.content = fae_input f, :name_en, wrapper_html: { data: { test: 'do not overwrite me' } }, wrapper_class: 'test-class' = fae_input f, :name_zh = fae_input f, :name_ja = fae_input f, :description_en = fae_input f, :description_zh = fae_input f, :description_ja = fae_input f, :food_pairing_en = fae_input f, :food_pairing_zh = fae_input f, :food_pairing_ja - if params[:action] == 'edit' section.main_content-section#oregon_winemakers_section = render 'fae/shared/nested_table', assoc: :oregon_winemakers, assoc_name: 'winemakers', assoc_name_singular: 'winemaker', parent_item: @item, cols: [:name, :winemaker_image, :table_image], new_path: "/admin/winemakers/new?region_type=1", ordered: true, edit_column: true, header: 'Oregon Winemaker', title: 'Oregon Winemakers' section.main_content-section#california_winemakers_section = render 'fae/shared/nested_table', assoc: :california_winemakers, assoc_name: 'winemakers', assoc_name_singular: 'winemaker', parent_item: @item, cols: [:name, :winemaker_image, :table_image], new_path: "/admin/winemakers/new?region_type=2", ordered: true, edit_column: true, header: 'California Winemaker', title: 'California Winemakers'
Version data entries
6 entries across 6 versions & 1 rubygems