merge with origin and add localize
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
|
||||
<div class="m-b-10 clearfix">
|
||||
<%= link_to t('.new', :default => t("helpers.links.new")),new_settings_zone_table_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
|
||||
<%= link_to t("views.btn.new"),new_settings_zone_table_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
|
||||
</div>
|
||||
<div class="card">
|
||||
<table class="table table-striped">
|
||||
@@ -24,7 +24,7 @@
|
||||
<th>is Active</th>
|
||||
<th>Created By</th>
|
||||
<th>Created At</th>
|
||||
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -42,8 +42,10 @@
|
||||
<td><%= table.created_by %></td>
|
||||
<% end %>
|
||||
<td><%= table.created_at.utc.getlocal.strftime("%Y-%m-%d/%I:%M %p") %></td>
|
||||
<td><%= link_to t("views.btn.edit"), edit_settings_zone_table_path(@zone,table) %></td>
|
||||
<td><%= link_to t("views.btn.delete"), settings_zone_table_path(@zone,table), method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
<td>
|
||||
<%= link_to t("views.btn.edit"), edit_settings_zone_table_path(@zone,table) %>
|
||||
<%= link_to t("views.btn.delete"), settings_zone_table_path(@zone,table), method: :delete, data: { confirm: 'Are you sure?' } %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user