phcscriptcdnpro 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60fe10af311849a8f2c3af1e64fd98a001467bca
4
- data.tar.gz: c7d6bf8495a7ce092135b9f0e0baeb57c972feaa
3
+ metadata.gz: b46a454a0cc04ee7331bbb9f4c7faaf4f6f55331
4
+ data.tar.gz: ae33e2c5eb9862eefc7d9ab086ea6debf75734fc
5
5
  SHA512:
6
- metadata.gz: b88eaaa3a2081110b07f93ed94ab1d8c8d5e7696390d107f34f6f853764b4b023e993dad517a32101d6b936778f9500edf9547f866938bdb93356d9190fd56a2
7
- data.tar.gz: 077db229c7b16ad6ce805cdbcb8b0730029ad37648e5b09b5fde436b04ea460a947edf70c62311beb702bb9cbeb9dd176d73f695ecace18f28a1e1b01bdc474a
6
+ metadata.gz: f5b7601e7efc2559f8ccc379a604cb1bc20dc8043060d6b9aa65b4a12ee7204ca4df561ca5bd9bf6e2f121979a242fecbd1bca64859d6c1ea91a639d5f9ff4ea
7
+ data.tar.gz: 9344fb411d4871b5a9fa4df9f1640281d8999fe356c7fe73dd9ccf6a24ddb57240e883cdce03135f2a471b747ced73c3eae42a28739c202c2b48e3c2065952c4
@@ -30,7 +30,7 @@ module Phcscriptcdnpro
30
30
  def create
31
31
  @scriptcdn_main = Scriptcdn::Main.new(scriptcdn_main_params)
32
32
  if @scriptcdn_main.save
33
- redirect_to @scriptcdn_main, notice: 'Main was successfully created.'
33
+ redirect_to @scriptcdn_main, notice: 'Script was successfully created.'
34
34
  else
35
35
  render :new
36
36
  end
@@ -39,7 +39,7 @@ module Phcscriptcdnpro
39
39
  # PATCH/PUT Script
40
40
  def update
41
41
  if @scriptcdn_main.update(scriptcdn_main_params)
42
- redirect_to @scriptcdn_main, notice: 'Main was successfully updated.'
42
+ redirect_to @scriptcdn_main, notice: 'Script was successfully updated.'
43
43
  else
44
44
  render :edit
45
45
  end
@@ -7,7 +7,7 @@ module Phcscriptcdnpro
7
7
  has_many :authors, class_name: 'Script::Author'
8
8
 
9
9
  # Validation for Form Fields
10
- validates :scrptname,
10
+ validates :scriptname,
11
11
  uniqueness: true,
12
12
  presence: true,
13
13
  length: { minimum: 3 }
@@ -4,26 +4,26 @@
4
4
 
5
5
  <div class="form-group field_with_error">
6
6
  <%= f.label :authorfirstname, "First Name" %>
7
- <%= f.text_field :authorfirstname %>
7
+ <%= f.text_field :authorfirstname, class: "form-control" %>
8
8
  </div>
9
9
  <div class="form-group field_with_error">
10
10
  <%= f.label :authorlastname, "Last Name" %>
11
- <%= f.text_field :authorlastname %>
11
+ <%= f.text_field :authorlastname, class: "form-control" %>
12
12
  </div>
13
13
  <div class="form-group field_with_error">
14
14
  <%= f.label :authoremail, "Last Name" %>
15
- <%= f.text_field :authoremail %>
15
+ <%= f.text_field :authoremail, class: "form-control" %>
16
16
  </div>
17
17
  <div class="form-group field_with_error">
18
18
  <%= f.label :authorgithub, "Last Name" %>
19
- <%= f.text_field :authorgithub %>
19
+ <%= f.text_field :authorgithub, class: "form-control" %>
20
20
  </div>
21
21
  <div class="form-group field_with_error">
22
22
  <%= f.label :authortwitter, "Last Name" %>
23
- <%= f.text_field :authortwitter %>
23
+ <%= f.text_field :authortwitter, class: "form-control" %>
24
24
  </div>
25
25
  <div class="actions">
26
- <%= f.submit %>
26
+ <%= f.submit class: "btn blue-hoki" %>
27
27
  </div>
28
28
 
29
29
  <% end %>
@@ -4,26 +4,26 @@
4
4
 
5
5
  <div class="form-group field_with_error">
6
6
  <%= f.label :authorfirstname, "First Name" %>
7
- <%= f.text_field :authorfirstname %>
7
+ <%= f.text_field :authorfirstname, class: "form-control" %>
8
8
  </div>
9
9
  <div class="form-group field_with_error">
10
10
  <%= f.label :authorlastname, "Last Name" %>
11
- <%= f.text_field :authorlastname %>
11
+ <%= f.text_field :authorlastname, class: "form-control" %>
12
12
  </div>
13
13
  <div class="form-group field_with_error">
14
14
  <%= f.label :authoremail, "Last Name" %>
15
- <%= f.text_field :authoremail %>
15
+ <%= f.text_field :authoremail, class: "form-control" %>
16
16
  </div>
17
17
  <div class="form-group field_with_error">
18
18
  <%= f.label :authorgithub, "Last Name" %>
19
- <%= f.text_field :authorgithub %>
19
+ <%= f.text_field :authorgithub, class: "form-control" %>
20
20
  </div>
21
21
  <div class="form-group field_with_error">
22
22
  <%= f.label :authortwitter, "Last Name" %>
23
- <%= f.text_field :authortwitter %>
23
+ <%= f.text_field :authortwitter, class: "form-control" %>
24
24
  </div>
25
25
  <div class="actions">
26
- <%= f.submit %>
26
+ <%= f.submit class: "btn blue-hoki" %>
27
27
  </div>
28
28
 
29
29
  <% end %>
@@ -12,6 +12,12 @@
12
12
 
13
13
  </div>
14
14
 
15
+ <!-- Page Title -->
16
+ <h3 class="page-title">
17
+ <%= yield(:phc_title) %> </br>
18
+ <small><%= yield(:phc_title_tagline) %></small>
19
+ </h3>
20
+
15
21
  <!-- Main Content -->
16
22
  <div class="row">
17
23
  <div class="col-lg-12">
@@ -12,6 +12,12 @@
12
12
 
13
13
  </div>
14
14
 
15
+ <!-- Page Title -->
16
+ <h3 class="page-title">
17
+ <%= yield(:phc_title) %> </br>
18
+ <small><%= yield(:phc_title_tagline) %></small>
19
+ </h3>
20
+
15
21
  <!-- Main Content -->
16
22
  <div class="row">
17
23
  <div class="col-lg-12">
@@ -12,6 +12,12 @@
12
12
 
13
13
  </div>
14
14
 
15
+ <!-- Page Title -->
16
+ <h3 class="page-title">
17
+ <%= yield(:phc_title) %> </br>
18
+ <small><%= yield(:phc_title_tagline) %></small>
19
+ </h3>
20
+
15
21
  <!-- Main Content -->
16
22
  <div class="row">
17
23
  <div class="col-lg-12">
@@ -12,6 +12,12 @@
12
12
 
13
13
  </div>
14
14
 
15
+ <!-- Page Title -->
16
+ <h3 class="page-title">
17
+ <%= yield(:phc_title) %> </br>
18
+ <small><%= yield(:phc_title_tagline) %></small>
19
+ </h3>
20
+
15
21
  <!-- Main Content -->
16
22
  <div class="row">
17
23
  <div class="col-lg-12">
@@ -6,12 +6,18 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Listing", phcscriptcdnpro.scriptcdn_main_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Listing", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
13
13
  </div>
14
14
 
15
+ <!-- Page Title -->
16
+ <h3 class="page-title">
17
+ <%= yield(:phc_title) %> </br>
18
+ <small><%= yield(:phc_title_tagline) %></small>
19
+ </h3>
20
+
15
21
  <!-- Main Content -->
16
22
  <div class="row">
17
23
  <div class="col-lg-12">
@@ -12,6 +12,12 @@
12
12
 
13
13
  </div>
14
14
 
15
+ <!-- Page Title -->
16
+ <h3 class="page-title">
17
+ <%= yield(:phc_title) %> </br>
18
+ <small><%= yield(:phc_title_tagline) %></small>
19
+ </h3>
20
+
15
21
  <!-- Main Content -->
16
22
  <div class="row">
17
23
  <div class="col-lg-12">
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-19 00:00:00.000000000 Z
11
+ date: 2016-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails