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

Version Path
optimacms-0.1.61 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.4.3 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.4.2 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.35 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.34 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.30 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.29 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.23 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.15 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.12 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.11 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.2.26 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.2.25 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.2.24 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.4 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.3.3 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.2.21 app/views/optimacms/admin/resources/_form.html.haml
optimacms-0.2.20 app/views/optimacms/admin/resources/_form.html.haml