lib/generators/templates/install/auto/app/inputs/checkbox_input.rb in adminos-1.0.0.pre.rc.3 vs lib/generators/templates/install/auto/app/inputs/checkbox_input.rb in adminos-1.0.0.pre.rc.4

- old
+ new

@@ -3,10 +3,10 @@ out = [] out << %{<div>} out << %{ <label class="f-check" for="#{object_name}_#{attribute_name}">} out << @builder.input_field("#{attribute_name}", as: :boolean) out << %{ <span class="f-check__box"></span>} - out << %{ <span class="f-check__label">Опубликовано</span>} + out << %{ <span class="f-check__label">#{I18n.t('labels.admin.published')}</span>} out << %{ </label>} out << %{</div>} out.join.html_safe end end