app/views/plugins/ecommerce/admin/payment_methods/index.html.erb in camaleon_ecommerce-0.0.4 vs app/views/plugins/ecommerce/admin/payment_methods/index.html.erb in camaleon_ecommerce-1.1
- old
+ new
@@ -24,18 +24,16 @@
<tr>
<td><%= row.slug %></td>
<td><%= row.name %></td>
<td><%= row.method_text %></td>
<td><%= raw row.the_status %></td>
- <td><%= row.description %></td>
+ <td><%= row.description.translate %></td>
<td>
<%= link_to raw('<i class="fa fa-eye"></i>'), {action: :show, id: row.id}, class: "btn btn-info btn-xs", title: "#{t('camaleon_cms.admin.button.preview')}" %>
<%= link_to raw('<i class="fa fa-edit"></i>'), {action: :edit, id: row.id}, class: "btn btn-default btn-xs", title: "#{t('camaleon_cms.admin.button.edit')}" %>
</td>
</tr>
<% end %>
-
-
</tbody>
</table>
<%= content_tag("div", raw(t('camaleon_cms.admin.message.data_found_list')), class: "alert alert-warning") if @payment_methods.empty? %>
<%= will_paginate @payment_methods, renderer: BootstrapPagination::Rails %>
</div>