Skip to content

Commit

Permalink
Add the new field to the show page
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Dec 17, 2024
1 parent 2fdfbe3 commit 994e20b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<%# 🚅 skip this section when scaffolding. %>
<%= render 'shared/attributes/text', attribute: :text_field_value %>
<%= render 'shared/attributes/boolean', attribute: :boolean_button_value %>
<%= render 'shared/attributes/option', attribute: :boolean_checkbox_value %>
<%= render 'shared/attributes/option', attribute: :button_value %>
<%= render 'shared/attributes/options', attribute: :multiple_button_values %>
<%= render 'shared/attributes/code', attribute: :color_picker_value %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ en:
options:
true: "Yes"
false: "No"
boolean_checkbox_value:
_: &boolean_checkbox_value Boolean Checkbox Value
label: *boolean_checkbox_value
heading: *boolean_checkbox_value
options:
true: "Yes"
false: "No"
color_picker_value:
_: &color_picker_value Color Picker Value
label: *color_picker_value
Expand Down

0 comments on commit 994e20b

Please sign in to comment.