|
f10022b0
»
|
schlick |
2008-10-23 |
added topics scaffold |
1 |
<h1>Listing topics</h1> |
| |
2 |
|
| |
3 |
<table> |
| |
4 |
<tr> |
| |
5 |
<th>Title</th> |
| |
6 |
<th>Description</th> |
| |
7 |
<th>Link</th> |
| |
8 |
<th>Meeting</th> |
| |
9 |
</tr> |
| |
10 |
|
| |
11 |
<% for topic in @topics %> |
| |
12 |
<tr> |
| |
13 |
<td><%=h topic.title %></td> |
| |
14 |
<td><%=h topic.description %></td> |
| |
15 |
<td><%=h topic.link %></td> |
| |
16 |
<td><%=h topic.meeting_id %></td> |
| |
17 |
<td><%= link_to 'Show', topic %></td> |
| |
18 |
<td><%= link_to 'Edit', edit_topic_path(topic) %></td> |
| |
19 |
<td><%= link_to 'Destroy', topic, :confirm => 'Are you sure?', :method => :delete %></td> |
| |
20 |
</tr> |
| |
21 |
<% end %> |
| |
22 |
</table> |
| |
23 |
|
| |
24 |
<br /> |
| |
25 |
|
| |
26 |
<%= link_to 'New topic', new_topic_path %> |