Sha256: dfeaecebb43089d4802f7ee94125d72439303531ff58b606a9c2400bbf39a916

Contents?: true

Size: 988 Bytes

Versions: 8

Compression:

Stored size: 988 Bytes

Contents

%h4 Basic (required)
.form-group
  %label.col-lg-2.col-md-2.control-label Locale
  .col-lg-10.col-md-10
    = f.select :locale, I18n.available_locales, {}, {class: "form-control", placeholder: "en"}
.form-group
  %label.col-lg-2.col-md-2.control-label Key
  .col-lg-10.col-md-10
    = f.text_field :key, {class: "form-control", placeholder: "footer.middle"}
.form-group
  %label.col-lg-2.col-md-2.control-label Value
  .col-lg-10.col-md-10
    %textarea.form-control{class: "#{'redactor' if translation.html?}", name: 'i18n_backend_weeler_translation[value]', id: 'i18n_backend_weeler_translation_value'}
      = translation.value
%h4 Info
.form-group
  %label.col-lg-2.col-md-2.control-label Variables
  .col-lg-10.col-md-10
    %p.form-control-static
      %label= translation.interpolations.join(", ")
.form-group{style: "display: none;"}
  %label.col-lg-2.col-md-2.control-label Is a ruby procedure?
  .col-lg-10.col-md-10
    %p.form-control-static
      %label= translation.is_proc

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
weeler-2.0.0 app/views/weeler/translations/_form.html.haml
weeler-1.6.0 app/views/weeler/translations/_form.html.haml
weeler-1.5.4 app/views/weeler/translations/_form.html.haml
weeler-1.5.2 app/views/weeler/translations/_form.html.haml
weeler-1.5.1 app/views/weeler/translations/_form.html.haml
weeler-1.4.0 app/views/weeler/translations/_form.html.haml
weeler-1.2.0 app/views/weeler/translations/_form.html.haml
weeler-1.1.0 app/views/weeler/translations/_form.html.haml