Sha256: d24027c3c67573ede6393da12730edb7d9f067f826c17c4def6d2fd835da1163
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
/ available locals are / grid : the fancygrid instance / cell : the column to render / record : the datarecord for the current row to render / value : the value for current cell to render / example rendering the actions show and edit for a users table /- case grid.name /- when :users / - case cell.name / - when :actions / = link_to "Show", user_path(record) / = link_to "Edit", edit_user_path(record)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fancygrid-1.1.0 | app/views/fancygrid/_cells.html.haml |
fancygrid-1.0.0 | app/views/fancygrid/_cells.html.haml |