Sha256: 4bffdf55b7fe2b2142b9eaab0495911ff2b135da7560566c6a0ed81ba1048716

Contents?: true

Size: 949 Bytes

Versions: 5

Compression:

Stored size: 949 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
    - if translation.html?
      = f.text_area :value, {class: "form-control redactor"}
    - else
      = f.text_area :value, {class: "form-control" }
%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

5 entries across 5 versions & 1 rubygems

Version Path
weeler-1.0.4 app/views/weeler/translations/_form.html.haml
weeler-1.0.3 app/views/weeler/translations/_form.html.haml
weeler-1.0.2 app/views/weeler/translations/_form.html.haml
weeler-1.0.1 app/views/weeler/translations/_form.html.haml
weeler-1.0.0 app/views/weeler/translations/_form.html.haml