locomotivecms/engine

View on GitHub
app/views/locomotive/translations/_form.html.slim

Summary

Maintainability
Test Coverage
= f.inputs do

  = f.simple_fields_for :values, OpenStruct.new(@translation.values) do |g|

    - current_site.locales.each do |l|
      = g.input l, label: flag_tag(l) + t(l, scope: 'locomotive.locales'), required: false, placeholder: t('.not_translated')