Sha256: c6bb336c1907bf99d57a931036e02382a17c37476b7bbf093e7ab868894addac
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
<%# name: headmin/table/body/boolean accepts block: no parameters: value: (boolean) Displays value %> <td> <% if value %> <%= bootstrap_icon('check-circle-fill', class: 'text-success') %> <%= t('.true') %> <% else %> <%= bootstrap_icon('x-circle-fill', class: 'text-secondary') %> <%= t('.false') %> <% end %> </td>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
headmin-0.1.2 | app/views/headmin/table/body/_boolean.erb |
headmin-0.1.1 | app/views/headmin/table/body/_boolean.erb |