Sha256: 445cfa434376060f76942c5c0a327908ba35a99a095c4abe840d2960279c2a65

Contents?: true

Size: 251 Bytes

Versions: 11

Compression:

Stored size: 251 Bytes

Contents

<%#
    headmin/table/body/date
    accepts block: no
    parameters:
      value: (DateTime) Date to be displayed
%>

<% format = defined?(format) && format ? format : t(".format") %>
<td>
  <%= value ? l(value, format: format) : t(".empty") %>
</td>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
headmin-0.6.3 app/views/headmin/table/body/_date.html.erb
headmin-0.6.2 app/views/headmin/table/body/_date.html.erb
headmin-0.6.1 app/views/headmin/table/body/_date.html.erb
headmin-0.6.0 app/views/headmin/table/body/_date.html.erb
headmin-0.5.9 app/views/headmin/table/body/_date.html.erb
headmin-0.5.8 app/views/headmin/table/body/_date.html.erb
headmin-0.5.7 app/views/headmin/table/body/_date.html.erb
headmin-0.5.6 app/views/headmin/table/body/_date.html.erb
headmin-0.5.5 app/views/headmin/table/body/_date.html.erb
headmin-0.5.4 app/views/headmin/table/body/_date.html.erb
headmin-0.5.3 app/views/headmin/table/body/_date.html.erb