This way people using screen readers will hear the required dimensions of the images while filling in the form.
24 lines
566 B
Plaintext
24 lines
566 B
Plaintext
<% provide :main_class, "admin-site-customization-images-index" %>
|
|
<%= header %>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th><%= t("admin.site_customization.images.index.image") %></th>
|
|
<th><%= t("admin.actions.actions") %></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% images.each do |image| %>
|
|
<tr id="image_<%= image.name %>">
|
|
<td>
|
|
<%= image_description(image) %>
|
|
</td>
|
|
<td>
|
|
<%= render Admin::SiteCustomization::Images::TableActionsComponent.new(image) %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|