Sha256: ccee5e695beca8e8760d21b736475289921c4ffa098d0510c54f5ab3ecfc8900

Contents?: true

Size: 1.9 KB

Versions: 15

Compression:

Stored size: 1.9 KB

Contents

<!-- Bread Crumbs -->
<div class="row">
	<div class="col-lg-12">
		<h2>Member's Information</h2>
		<ol class="breadcrumb">
			<li><%= link_to "Home", members_root_path %></li>
			<li><%= link_to "Members List", members_mains_path %></li>
			<li class="active"><%= @members_main.mfirstname + ' ' + @members_main.mlastname %> Private Address Index</li>
		</ol>
	</div>
</div>

<!-- Main Content -->
<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-primary">
			<div class="panel-heading">
				Member's Contact Index
			</div>
			<div class="panel-body">
				<%= render 'phcnotifi/notifications' %>
				<table class="table table-bordered table-striped table-hover">
					<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>
								<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" role="group" aria-label="Member Adresses Group">
										<%= link_to 'Show', members_main_contact_path(members_contact.main, members_contact), class: "btn btn-primary" %>
										<%= link_to 'Edit', edit_members_main_contact_path(members_contact.main, members_contact), class: "btn btn-primary" %>
										<%= link_to 'Delete', members_main_contact_path(members_contact.main, members_contact), class: "btn btn-danger", method: :delete, data: { confirm: 'Are you sure?' } %>
									</div>
								</td>
							</tr>
						<% end %>
					</tbody>
				</table>
				<%= link_to 'Add a Private Address', new_members_main_contact_path, class: "btn btn-primary" %>
			</div>
		</div>
	</div>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
phcmembers-2.2.0 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-2.1.3 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-2.1.2 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-2.1.1 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-2.1.0 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-2.0.0 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-1.9.9 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-1.9.5 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-1.9.0 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-1.8.1 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-1.8.0 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-1.7.8 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-1.7.6 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-1.7.5 app/views/phcmembers/members/contacts/index.html.erb
phcmembers-1.7.0 app/views/phcmembers/members/contacts/index.html.erb