diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-04 23:11:14 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-04 23:11:14 -0700 |
| commit | 834bf9261ee0ac209201d7643594361e6308f8e4 (patch) | |
| tree | 2a96fc62b26c58bbc2d974a32a98801befded160 /app/views/agents | |
| parent | f310f6b62165333c73f3f76d1ea14e201f4c884f (diff) | |
remove delete button and use ul.
Diffstat (limited to 'app/views/agents')
| -rw-r--r-- | app/views/agents/events/index.html.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/agents/events/index.html.erb b/app/views/agents/events/index.html.erb index 6143c15..6b56b40 100644 --- a/app/views/agents/events/index.html.erb +++ b/app/views/agents/events/index.html.erb @@ -10,8 +10,7 @@ <tr> <th>Name</th> <th>Data</th> - <th>Created At</th> - <th></th> + <th width="210">Created At</th> </tr> </thead> @@ -20,12 +19,13 @@ <tr> <td><%= event.name %></td> <td> + <ul> <% event.data.each do |key, value| %> - <%= key %>: <%= value %> + <li><%= key %>: <%= value %></li> <% end %> + </ul> </td> <td><%= event.created_at %></td> - <td><%= link_to 'Destroy', [@agent, event], method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> |
