UI change
This commit is contained in:
5
app/views/settings/menus/show.html.erb
Normal file → Executable file
5
app/views/settings/menus/show.html.erb
Normal file → Executable file
@@ -33,7 +33,7 @@
|
||||
<th>Valid To</th>
|
||||
<th>Created By</th>
|
||||
<th>Created At</th>
|
||||
<th>Action</th>
|
||||
<th colspan="2">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -45,6 +45,7 @@
|
||||
<td><%= @settings_menu.created_by %></td>
|
||||
<td><%= @settings_menu.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
|
||||
<td><%= link_to t("views.btn.edit"), edit_settings_menu_path(@settings_menu),:class => 'btn btn-primary btn-sm waves-effect' %></td>
|
||||
<td><%= link_to t("views.btn.delete"), settings_menu_path(@settings_menu), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -67,7 +68,7 @@
|
||||
<th>Items Count</th>
|
||||
<th>Order By</th>
|
||||
<th>Created At</th>
|
||||
<th>Action</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user