% content_for :actions do %> <%= link_to(t('.new_btn'), new_admin_reserved_domain_path, class: 'btn btn-primary') %> <% end %> <%= render 'shared/title', name: t('.title') %>
<%= check_box_tag :check_all %> | <%= sort_link(@q, 'name') %> | <%= sort_link(@q, 'password') %> | <%= sort_link(@q, 'created_at', t(:created_at)) %> | <%= sort_link(@q, 'updated_at', t(:updated_at)) %> | <%= t(:actions) %> |
---|---|---|---|---|---|
<%= f.check_box :domain_ids, { multiple: true }, x.id, nil %> | <%= x.name %> | <%= x.password %> | <%= l(x.created_at, format: :short) %> | <%= l(x.updated_at, format: :short) %> | <%= link_to(t(:edit_pw), edit_admin_reserved_domain_path(id: x.id), class: 'btn btn-primary btn-xs') %> <%= link_to(t(:delete), delete_admin_reserved_domain_path(id: x.id), data: { confirm: t(:are_you_sure) }, class: 'btn btn-danger btn-xs') %> |