import React, { Component } from react class MyComponent extends Component { render = () => { return (
Name | Description | Metacodes |
---|---|---|
{ metacode_set.name } { link_to 'Edit', edit_metacode_set_path(metacode_set) } { link_to 'Delete', metacode_set, method: :delete, data: { confirm: 'Are you sure?' } } |
{ metacode_set.desc } | { metacode_set.metacodes.each_with_index do |metacode, index| } { if (index+1)%4 == 0 } { end } { end } |