phcdevworks_tutorials 5.1.0 → 5.1.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75c74c0a5d348145360e87e805be3cac52959a8a064db3884eed60994d639fed
|
4
|
+
data.tar.gz: c11ed22ec4b4e0a2c9e923933375f9651d44f0a0b7ecbcde7eccd7f82804095d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22c5f639bba5d7c7a6f9ba645cbbef67b972bd21cb636c119ff6010c1befea6cfe652127fc26f9ef789ddf25e7227c4e815c4fa853fe84f3d409357f392e5e78
|
7
|
+
data.tar.gz: d587e6b706d78c17af4d071c9d9de826a5499eb39280a3f85173c1f20effe3fb49ca097609a269782b6ceae7d245df58998b9e1aeb1be4c398fed620d089fc5d
|
@@ -82,7 +82,7 @@ module PhcdevworksTutorials
|
|
82
82
|
|
83
83
|
# Whitelist
|
84
84
|
def tutorial_step_params
|
85
|
-
params.require(:tutorial_step).permit(:step_number, :step_title, :step_description, :step_image, :post_id, :slug, :user_id, :org_id)
|
85
|
+
params.require(:tutorial_step).permit(:step_number, :step_title, :step_description, :step_copy_instruction, :step_image, :post_id, :slug, :user_id, :org_id)
|
86
86
|
end
|
87
87
|
|
88
88
|
end
|
@@ -21,6 +21,11 @@
|
|
21
21
|
<%= form.text_area :step_description, class: "form-control", rows: "10" %>
|
22
22
|
</div>
|
23
23
|
|
24
|
+
<div class="form-group field_with_errors">
|
25
|
+
<%= form.label :step_copy_instruction, "Step Instructions (to Copy)" %>
|
26
|
+
<%= form.text_area :step_copy_instruction, class: "form-control", rows: "10" %>
|
27
|
+
</div>
|
28
|
+
|
24
29
|
<div class="form-group field_with_errors">
|
25
30
|
<%= form.label :step_image, "Step Image" %>
|
26
31
|
<%= form.file_field :step_image, class: "form-control" %>
|