add user manual for zone

This commit is contained in:
phyusin
2017-10-23 17:59:35 +06:30
parent d3dfabd66a
commit ba18e722d7
33 changed files with 446 additions and 165 deletions

View File

@@ -22,7 +22,7 @@
<th>Joined Date</th>
<th>Resigned Date</th>
<th>Active</th>
<th ></th>
<th>Actions</th>
</tr>
</thead>
@@ -39,15 +39,6 @@
<td><%= commissioner.is_active %></td>
<td><%= link_to t("views.btn.show"), settings_commissioner_path(commissioner),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.edit"), edit_settings_commissioner_path(commissioner),:class => 'btn btn-primary btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_commissioner_path(commissioner)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
<% end %>

View File

@@ -55,6 +55,19 @@
<td style="width:20%">Created By</td>
<td><%= Employee.find(@commissioner.created_by).name %></td>
</tr>
<tr>
<td colspan="2" align="right">
<%= link_to t("views.btn.edit"), edit_settings_commissioner_path(@commissioner),:class => 'btn btn-primary btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_commissioner_path(@commissioner)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tbody>
</table>