Sha256: aa8a9e75257ac77be9a23de9d2cbe67f50f3be484715ef836a3e9bbdf7d14e35
Contents?: true
Size: 374 Bytes
Versions: 2
Compression:
Stored size: 374 Bytes
Contents
- for_context ||= context - name ||= "#{for_context.resource.name}[#{field.name}]" - id ||= "#{for_context.resource.name}_#{field.name}" - value ||= field.read(for_context.entity) - opts = { name: name, id: id, value: value } .btn-group.btn-group-sm< data-toggle="switch" data-value=value.to_s button.btn Да input.form-control type="hidden" *opts button.btn Нет
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
admin_it-1.3.5 | app/views/admin_it/editors/_boolean.html.slim |
admin_it-1.3.4 | app/views/admin_it/editors/_boolean.html.slim |