app/views/phcmemberspro/members/contacts/index.html.erb in phcmemberspro-4.8.7 vs app/views/phcmemberspro/members/contacts/index.html.erb in phcmemberspro-4.8.8

- old
+ new

@@ -27,54 +27,50 @@ </ul> </div> </div> <!-- Main Content --> -<div id="content" class="padding-20"> - - <div class="row"> - <div class="col-lg-12"> - <div class="portlet box blue-chambray bordered"> - <div class="portlet-title"> - <div class="caption"> - <span class="caption-subject bold uppercase"><%= @members_main.mfirstname + ' ' + @members_main.mlastname %> Address Index</span> - </div> +<div class="row"> + <div class="col-lg-12"> + <div class="portlet box blue-chambray bordered"> + <div class="portlet-title"> + <div class="caption"> + <span class="caption-subject bold uppercase"><%= @members_main.mfirstname + ' ' + @members_main.mlastname %> Address Index</span> </div> - <div class="portlet-body"> - <div class="table-responsive"> - <table class="table table-striped table-bordered table-hover table-header-fixed"> - <thead> + </div> + <div class="portlet-body"> + <div class="table-responsive"> + <table class="table table-striped table-bordered table-hover table-header-fixed"> + <thead> + <tr> + <th>Full Name</th> + <th>Company Name</th> + <th>City</th> + <th>Province</th> + <th>Country</th> + <th></th> + </tr> + </thead> + <tbody> + <% @members_contact.each do |members_contact| %> <tr> - <th>Full Name</th> - <th>Company Name</th> - <th>City</th> - <th>Province</th> - <th>Country</th> - <th></th> + <td><%= members_contact.mccontactname %></td> + <td><%= members_contact.mccompanyname %></td> + <td><%= members_contact.mccity %></td> + <td><%= members_contact.mcprovince %></td> + <td><%= members_contact.mccountry %></td> + <td><div class="btn-group btn-group-xs btn-group-solid" role="group" aria-label="Member Adresses Group"> + <%= link_to 'Show', members_main_contact_path(members_contact.main, members_contact), class: "btn blue-hoki" %> + <%= link_to 'Edit', edit_members_main_contact_path(members_contact.main, members_contact), class: "btn blue-hoki" %> + <%= link_to 'Delete', members_main_contact_path(members_contact.main, members_contact), class: "btn red-mint", method: :delete, data: { confirm: 'Are you sure?' } %> + </div> + </td> </tr> - </thead> - <tbody> - <% @members_contact.each do |members_contact| %> - <tr> - <td><%= members_contact.mccontactname %></td> - <td><%= members_contact.mccompanyname %></td> - <td><%= members_contact.mccity %></td> - <td><%= members_contact.mcprovince %></td> - <td><%= members_contact.mccountry %></td> - <td><div class="btn-group btn-group-xs btn-group-solid" role="group" aria-label="Member Adresses Group"> - <%= link_to 'Show', members_main_contact_path(members_contact.main, members_contact), class: "btn blue-hoki" %> - <%= link_to 'Edit', edit_members_main_contact_path(members_contact.main, members_contact), class: "btn blue-hoki" %> - <%= link_to 'Delete', members_main_contact_path(members_contact.main, members_contact), class: "btn red-mint", method: :delete, data: { confirm: 'Are you sure?' } %> - </div> - </td> - </tr> - <% end %> - </tbody> - </table> - </div> - <%= link_to 'Add a Private Address', new_members_main_contact_path, class: "btn blue-hoki" %> + <% end %> + </tbody> + </table> </div> + <%= link_to 'Add a Private Address', new_members_main_contact_path, class: "btn blue-hoki" %> </div> </div> </div> - </div>