UI change

This commit is contained in:
yamin
2017-10-23 11:38:10 +06:30
parent 4874bb135c
commit 1aea52619a
4731 changed files with 19031 additions and 149 deletions

7
app/views/settings/menu_item_options/show.html.erb Normal file → Executable file
View File

@@ -17,7 +17,7 @@
<th>Name</th>
<th>Value</th>
<th>Created At</th>
<th>Action</th>
<th>Actions</th>
</tr>
</thead>
@@ -27,7 +27,10 @@
<td><%= @settings_menu_item_option.name %></td>
<td><%= @settings_menu_item_option.value rescue "-" %></td>
<td><%=l @settings_menu_item_option.created_at, format: :short %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_menu_item_option_path(@settings_menu_item_option, @settings_menu_item_option) %></td>
<td>
<%= link_to t("views.btn.edit"), edit_settings_menu_item_option_path(@settings_menu_item_option, @settings_menu_item_option) %>
<%= link_to t("views.btn.delete"), settings_menu_item_option_path(@settings_menu_item_option), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %>
</td>
</tr>
</tbody>
</table>