Sha256: 59fcf3cdb09b78d15ec5d766cdbdc4a2bb57efab93d69b38fc364419a017858f
Contents?: true
Size: 904 Bytes
Versions: 1
Compression:
Stored size: 904 Bytes
Contents
<h1>Listing users</h1> <table> <tr> <th>Name</th> <th>Email</th> <th></th> <th></th> <th></th> </tr> <% @users.each do |user| %> <tr> <td><%= user.name %></td> <td><%= user.email %></td> <td><%= link_to 'Show', user %></td> <td><%= link_to 'Edit', edit_user_path(user) %></td> <td><%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </table> <br /> <div id="diag" style="display:none;">Hudel Welcom Coll <%= link_to_modal 'Another DIV in the page', "#diag2" %></div> <div id="diag2" style="display:none;">Hey you</div> <%= link_to 'New User Normal', new_user_path %><BR/> <%= link_to_modal 'New User Modal', new_user_path %><BR/> <%= link_to_modal 'New User Modal Sized', new_user_path, :width=> "600", :height =>"400", :remote => true %><BR/> <%= link_to_modal 'DIV in the page', "#diag" %><BR/>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jquery-modal-rails-0.0.4 | demoapp/app/views/users/index.html.erb |