Sha256: b215f57e4bb429380682ae4fe2541a4692b3b878f4ef245f6d80c872a0a23a5d

Contents?: true

Size: 1.76 KB

Versions: 5

Compression:

Stored size: 1.76 KB

Contents

<!-- Title System -->
<% phc_title "Script Versions" %>
<% phc_title_tagline "Script Version Index" %>

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

	<ul class="page-breadcrumb">
		<li><%= link_to "Script Listings", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
		<li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_main_versions_path %><i class="fa fa-circle"></i></li>
		<li class="active"><%= yield(:phc_title_tagline) %></li>
	</ul>

</div>

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

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

		<div class="portlet light">

			<div class="portlet-title">
				<div class="caption">
					<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
				</div>
				<div class="actions">
					<%= link_to new_scriptcdn_main_version_path, class: "btn blue-chambray" do %>
						<i class="fa fa-plus"></i> Add a New Script Version
					<% 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>Script Version</th>
								<th></th>
							</tr>
						</thead>
						<tbody>
							<% @scriptcdn_versions.each do |scriptcdn_version| %>
								<tr>
									<td><%= link_to scriptcdn_version.version, edit_scriptcdn_main_version_path(scriptcdn_version.main, scriptcdn_version) %></td>
									<td><%= link_to 'Destroy', scriptcdn_main_version, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td>
								</tr>
							<% end %>
						</tbody>
					</table>
				</div>
			</div>

		</div>

	</div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.11.5 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.4 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.2 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.1 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.0 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb