Sha256: 38ea46789d3ac185e8db654e761a23c4211e2395426b65a76c746c66aca85717

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

<!-- Title System -->
<% phc_title "Script Authors" %>
<% phc_title_tagline "Script Author Index" %>

<!-- Bread Crumb -->
<div class="page-bar">

	<ul class="page-breadcrumb">
		<li><%= link_to "Script Listings Index", script_listings_path %></li>
		<li class="active"><%= yield(:phc_title_tagline) %></li>
	</ul>

	<!-- Page Title -->
	<h3 class="page-title">
		<%= yield(:phc_title) %> </br>
		<small><%= yield(:phc_title_tagline) %></small>
	</h3>

</div>

<!-- Main Content -->
<div class="row">
	<div class="col-lg-12">

		<table class="table table-striped table-bordered table-advance table-hover">
			<thead>
				<tr>
					<th>Author Firstname</th>
					<th>Author Lastname</th>
					<th>Author Website</th>
					<th>Author Github</th>
					<th>Author Twitter</th>
				</tr>
			</thead>

			<tbody>
				<% @script_authors.each do |script_author| %>
					<tr>
						<td><%= link_to script_author.authorfirstname, script_listing_author_path(script_author.listing, script_author) %></td>
						<td><%= link_to script_author.authorlastname, script_listing_author_path(script_author.listing, script_author) %></td>
						<td><%= link_to script_author.authorwebsite, script_listing_author_path(script_author.listing, script_author) %></td>
						<td><%= link_to script_author.authorgithub, script_listing_author_path(script_author.listing, script_author) %></td>
						<td><%= link_to script_author.authortwitter, script_listing_author_path(script_author.listing, script_author) %></td>
					</tr>
				<% end %>
			</tbody>
		</table>

		<%= link_to 'New Script Author', new_script_listing_author_path, class: "btn btn-primary" %>

	</div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcscriptcdnpro-3.3.0 app/views/phcscriptcdnpro/script/authors/index.html.erb