Sha256: e54b5bd2708d3579c848655875e3de332f372d0f6932b37a6bc2ab484c8fc7d6

Contents?: true

Size: 1.83 KB

Versions: 5

Compression:

Stored size: 1.83 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.versionnumber, 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

5 entries across 5 versions & 1 rubygems

Version Path
phcscriptcdnpro-2.1.0 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-2.0.3 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-2.0.2 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-2.0.1 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
phcscriptcdnpro-2.0.0 app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb