Sha256: 88d30a19113472fc08b7634254641e2d44420282ca592d34d03786f0ec3cb629
Contents?: true
Size: 586 Bytes
Versions: 18
Compression:
Stored size: 586 Bytes
Contents
= horizontal_simple_form_for(@item) do |f| = f.error_notification = f.input :name, label: 'Name' = f.input :enabled, :as => :select = f.input :description, :input_html => { :rows => 7 , :style => 'width: 100%'} / Nav tabs = render 'optimacms/admin/shared/form_tran_tabs' / Tabs content .tab-content - @languages.each do |lang| - next if lang.blank? %div{id: "tab-content-#{lang}", role: "tabpanel", class: ['tab-pane', ('active' if lang=='en')]} = f.input :"content_#{lang}", label: "Content" = f.button :submit
Version data entries
18 entries across 18 versions & 1 rubygems