app/views/phcmemberspro/members/businesses/index.html.erb in phcmemberspro-5.0.5 vs app/views/phcmemberspro/members/businesses/index.html.erb in phcmemberspro-5.0.6

- old
+ new

@@ -1,7 +1,7 @@ <!-- Title System --> -<% phc_title "PHCMembers - Member Businesses" %> +<% phc_title "Member Business Manager" %> <% phc_title_tagline "Business Index for " + @members_main.mfirstname + " " + @members_main.mlastname %> <div class="page-bar"> <!-- Bread Crumb --> @@ -21,55 +21,55 @@ <!-- Main Content --> <div class="row"> <div class="col-lg-12"> - <div class="portlet box blue-chambray bordered"> + <div class="portlet light"> + <div class="portlet-title"> <div class="caption"> - <span class="caption-subject bold uppercase"><%= @members_main.mfirstname + ' ' + @members_main.mlastname %> Address Index</span> + <span class="caption-subject bold uppercase">Members Business List</span> </div> + <div class="actions"> + <%= link_to new_members_business_path(members_business), class: "btn blue-chambray btn-circle" do %> + <i class="fa fa-plus"></i> Add Another Business for <%= @members_main.mfirstname + ' ' + @members_main.mlastname %> + <% end %> + </div> </div> + <div class="portlet-body"> <div class="table-responsive"> <table class="table table-striped table-bordered table-hover table-header-fixed"> - <thead> - <tr> - <th>Company Name</th> - <th>Conact Name</th> - <th>Address Line 1</th> - <th>Address Line 2</th> - <th>City</th> - <th>Country</th> - <th>PostalCode</th> - <th>Business Phone</th> - <th>Business Email</th> - <th colspan="3"></th> - </tr> - </thead> + <thead> + <tr> + <th>Company Name</th> + <th>Conact Name</th> + <th>City</th> + <th>Country</th> + <th>Business Phone</th> + <th>Business Email</th> + <th colspan="2"></th> + </tr> + </thead> - <tbody> - <% @members_businesses.each do |members_business| %> - <tr> - <td><%= members_business.mbcompanyname %></td> - <td><%= members_business.mbcontactname %></td> - <td><%= members_business.mbaddressl1 %></td> - <td><%= members_business.mbaddressl2 %></td> - <td><%= members_business.mbcity %></td> - <td><%= members_business.mbcountry %></td> - <td><%= members_business.mbpostalcode %></td> - <td><%= members_business.mbphone %></td> - <td><%= members_business.mbcontactemail %></td> - <td><%= link_to 'Show', members_business %></td> - <td><%= link_to 'Edit', edit_members_business_path(members_business) %></td> - <td><%= link_to 'Destroy', members_business, method: :delete, data: { confirm: 'Are you sure?' } %></td> - </tr> - <% end %> - </tbody> + <tbody> + <% @members_businesses.each do |members_business| %> + <tr> + <td><%= members_business.mbcompanyname %></td> + <td><%= members_business.mbcontactname %></td> + <td><%= members_business.mbcity %></td> + <td><%= members_business.mbcountry %></td> + <td><%= members_business.mbphone %></td> + <td><%= members_business.mbcontactemail %></td> + <td><%= link_to 'Edit', edit_members_business_path(members_business) %> <%= link_to 'Show', members_business %></td> + <td><%= link_to 'Destroy', members_business, method: :delete, data: { confirm: 'Are you sure?' } %></td> + </tr> + <% end %> + </tbody> + </table> </div> - <%= link_to 'Add a Private Address', new_members_main_contact_path, class: "btn blue-hoki" %> </div> </div> </div> </div>