Sha256: c76f48fde08747af62aad2e03940ea7f501d62817c037fdc4cb687724b3ebcb5

Contents?: true

Size: 1.82 KB

Versions: 15

Compression:

Stored size: 1.82 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 phcscriptcdnpro.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_path(scriptcdn_version.main, scriptcdn_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

15 entries across 15 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.13.0 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.12.6 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.12.5 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.12.4 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.12.3 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.12.2 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.12.1 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.12.0 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.12 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.11 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.10 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.9 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.8 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.7 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-1.11.6 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb