Sha256: eeb34a2e26ead69c6f36277174e6f980fcfa20bb1e9fd09ea72f92b716fb9161
Contents?: true
Size: 563 Bytes
Versions: 9
Compression:
Stored size: 563 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
9 entries across 9 versions & 1 rubygems