Sha256: c228f9116ba8bf21729b703ec764510a0ba6c05c68f4088edb13dcee8e3dac43

Contents?: true

Size: 1.86 KB

Versions: 4

Compression:

Stored size: 1.86 KB

Contents

<!-- -PHCDEV- Title Variables -->
<% phc_title "Script Authors" %>
<% phc_title_tagline "Author Index" %>
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %>
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
<!-- -PHCDEV- Title Variables -->

<!-- -PHCDEV- Bradcrumbs -->
	<ol class="breadcrumb float-xl-end">
	<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
	<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
<!-- -PHCDEV- Bradcrumbs -->

<!-- -PHCDEV- Header -->
<h1 class="page-header"><%= yield(:phc_title) %></h1>
<!-- -PHCDEV- Header -->

<!-- -PHCDEV- Panel -->
<div class="panel panel-inverse">

	<!-- -PHCDEV- Panel - Heading -->
	<div class="panel-heading">
		<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
	</div>
	<!-- -PHCDEV- Panel - Heading -->

	<!-- -PHCDEV- Panel - Body -->
	<div class="panel-body">

		<!-- -PHCDEV- Table - Author Index -->
		<div class="table-responsive">
			<table class="table table-striped table-bordered">
				<thead>
					<tr>
						<th>First Name</th>
						<th>Last Name</th>
						<th>Website</th>
						<th>Github</th>
					</tr>
				</thead>
				<tbody>
					<% @script_authors.each do |script_author| %>
						<tr>
							<td><%= link_to script_author.author_first_name, script_author %></td>
							<td><%= link_to script_author.author_last_name, script_author %></td>
							<td><%= link_to script_author.author_website, script_author %></td>
							<td><%= link_to script_author.author_github, script_author %></td>
						</tr>
					<% end %>
				</tbody>
			</table>
			<%= link_to phcscriptcdn.new_script_author_path, class: "btn btn-primary btn-sm" do %>
				<i class="fas fa-plus-circle"></i>
				Add a New Script Author
			<% end %>
		</div>
		<!-- -PHCDEV- Table - Author Index -->

	</div>
	<!-- -PHCDEV- Panel - Body -->

</div>
<!-- -PHCDEV- Panel -->

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcscriptcdn-55.0.3 app/views/phcscriptcdn/script/authors/index.html.erb
phcscriptcdn-55.0.2 app/views/phcscriptcdn/script/authors/index.html.erb
phcscriptcdn-55.0.1 app/views/phcscriptcdn/script/authors/index.html.erb
phcscriptcdn-55.0.0 app/views/phcscriptcdn/script/authors/index.html.erb