Sha256: 7bcbe8969748aeb523384fdbe429d9551486cb02ed656144da65bceb68c61aeb

Contents?: true

Size: 358 Bytes

Versions: 28

Compression:

Stored size: 358 Bytes

Contents

- (params[:_location] || {}).each do |name, value|
  = hidden_field_tag "_location[#{name}]", value

= 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')

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
locomotivecms-3.0.0.rc7 app/views/locomotive/translations/_form.html.slim
locomotivecms-3.0.0.rc6 app/views/locomotive/translations/_form.html.slim
locomotivecms-3.0.0.rc5 app/views/locomotive/translations/_form.html.slim
locomotivecms-3.0.0.rc4 app/views/locomotive/translations/_form.html.slim
locomotivecms-3.0.0.rc3 app/views/locomotive/translations/_form.html.slim
locomotivecms-3.0.0.rc2 app/views/locomotive/translations/_form.html.slim
locomotivecms-3.0.0.rc1 app/views/locomotive/translations/_form.html.slim
locomotivecms-3.0.0.pre.beta.1 app/views/locomotive/translations/_form.html.slim