Sha256: edfffb149702adda9b290af4a4839359b46d92eb5f7403e2ec01c2cfb0160d33

Contents?: true

Size: 1.82 KB

Versions: 1

Compression:

Stored size: 1.82 KB

Contents

<!-- Title System -->
<% phc_title "Script URL" %>
<% phc_title_tagline "New Script URL" %>

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

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

</div>

<!-- 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_scriptversion_scripturl_path, class: "btn blue-chambray" do %>
						<i class="fa fa-plus"></i> Add a New Script Url
					<% 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 URL</th>
								<th>Script Type</th>
								<th></th>
							</tr>
						</thead>

						<tbody>
							<% @scriptcdn_scripturls.each do |scriptcdn_scripturl| %>
								<tr>
									<td><%= scriptcdn_scripturl.scrpturlphc %></td>
									<td><%= scriptcdn_scripturl.scrpturltype %></td>
									<td><div class="btn-group" role="group" aria-label="Script CDN">
										<%= link_to 'Edit', edit_scriptcdn_script_scripturl_path(scriptcdn_scripturl.script, scriptcdn_scripturl), class: "btn blue-chambray" %>
										<%= link_to 'Destroy', scriptcdn_script_scripturl_path(scriptcdn_scripturl.script, scriptcdn_scripturl), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %>
									</div></td>
								</tr>
							<% end %>
						</tbody>

					</table>
				</div>
			</div>

		</div>

	</div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.4.2 app/views/phcscriptcdnpro/scriptcdn/scripturls/index.html.erb