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

Version Path
optimacms-0.3.9 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.8 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.7 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.6 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.5 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.2 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.1 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.2.23 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.2.22 app/views/optimacms/admin/resources/_form.html.haml