Sha256: b88d6e5104d8dfee19cb0fbf0c4b07b3a57f760f2959bdc3c93ca0bccca789f4

Contents?: true

Size: 607 Bytes

Versions: 10

Compression:

Stored size: 607 Bytes

Contents

<h1>Listing users</h1>

<table>
  <tr>
    <th colspan="2">Name</th>
    <th>Last name</th>
    <th>Country</th>
  </tr>

<% @users.each do |user| %>
  <tr id="user_<%= user.id %>">
    <td class="name">
      <%= best_in_place user, :name,
                        activator: "#edit_#{user.id}",
                        display_with: :link_to, 
                        helper_options: user_path(user) %>
    </td>
    <td><small><a href="#" id="edit_<%= user.id %>">edit</a></small></td>
    <td><%= user.last_name %></td>
    <td><%= COUNTRIES[user.country.to_i] %></td>
  </tr>
<% end %>
</table>

<br />

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
best_in_place-3.0.0 spec/internal/app/views/users/index.html.erb
best_in_place-3.0.0.rc1 spec/internal/app/views/users/index.html.erb
very_best_in_place-2.0.3 test_app/app/views/users/index.html.erb
crest_in_place-2.2.0 test_app/app/views/users/index.html.erb
best_in_place-2.1.0 test_app/app/views/users/index.html.erb
best_in_place-2.0.3 test_app/app/views/users/index.html.erb
best_in_place-2.0.2 test_app/app/views/users/index.html.erb
best_in_place-2.0.1 test_app/app/views/users/index.html.erb
best_in_place-2.0.0 test_app/app/views/users/index.html.erb
best_in_place-1.1.3 test_app/app/views/users/index.html.erb