Sha256: b9487020eb8b9de3f9cc7570c69195c0760088852176c6ccabb5ccf1fb23386a

Contents?: true

Size: 467 Bytes

Versions: 4

Compression:

Stored size: 467 Bytes

Contents

- if Tenon.config.languages && f.object.send("#{field}_i18n?")
  .i18n-holder
    .i18n-frame
      .i18n.en.active= render 'tenon/tenon_content/fields', field: field, f: f
      - Tenon.config.languages.each do |title, lang|
        .i18n{ class: lang }= render 'tenon/tenon_content/fields', field: "#{field}_#{lang}", lang: lang, lang_title: title, f: f
- else
  = render 'tenon/tenon_content/fields', field: field, f: f

= render 'tenon/tenon_content/embed_modal'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tenon-1.1.8 app/views/tenon/tenon_content/_builder.html.haml
tenon-1.1.7 app/views/tenon/tenon_content/_builder.html.haml
tenon-1.1.6 app/views/tenon/tenon_content/_builder.html.haml
tenon-1.1.5 app/views/tenon/tenon_content/_builder.html.haml