Commit 076959d

mo <mo@mokhan.ca>
2017-11-25 00:08:52
truncate the attribute value.
1 parent e47b14a
Changed files (1)
airport
app
views
registrations
airport/app/views/registrations/index.html.erb
@@ -17,7 +17,7 @@
                 <%= link_to metadata.entity_id, registration_path(metadata) %>
                 <ul>
                   <% current_user(metadata.entity_id).attributes.each do |attribute| %>
-                    <li> <%= attribute %> </li>
+                    <li title="<%= attribute[1] %>"> <%= attribute[0] %> <%= attribute[1].truncate(100) %> </li>
                   <% end if current_user?(metadata.entity_id) %>
                 </ul>
               </td>