move commission to origami

This commit is contained in:
Zin Lin Phyo
2017-08-21 16:31:04 +06:30
parent 618f5f3b7c
commit f26bc83b42
20 changed files with 312 additions and 138 deletions

View File

@@ -0,0 +1,25 @@
<p id="notice"><%= notice %></p>
<h1>Commissioners</h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @commissioners.each do |commissioner| %>
<tr>
<td><%= link_to 'Show', commissioner %></td>
<td><%= link_to 'Edit', edit_commissioner_path(commissioner) %></td>
<td><%= link_to 'Destroy', commissioner, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
<%= link_to 'New Commissioner', new_commissioner_path %>