create InJuty

This commit is contained in:
Zin Lin Phyo
2017-08-23 15:02:27 +06:30
parent d6b8e8bdee
commit 874a9b60be
25 changed files with 692 additions and 636 deletions

View File

@@ -0,0 +1,25 @@
<p id="notice"><%= notice %></p>
<h1>In Juties</h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @in_juties.each do |in_juty| %>
<tr>
<td><%= link_to 'Show', in_juty %></td>
<td><%= link_to 'Edit', edit_in_juty_path(in_juty) %></td>
<td><%= link_to 'Destroy', in_juty, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
<%= link_to 'New In Juty', new_in_juty_path %>