Skip to content

Commit

Permalink
Merge pull request #259 from droberts-ctrlo/registerfields
Browse files Browse the repository at this point in the history
Updated register fields to use site placeholders and text
  • Loading branch information
abeverley authored Oct 29, 2023
2 parents d2ddacc + eb5604e commit 47c12cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions views/register.tt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
id = "freetext1"
name = "freetext1"
label = site.register_freetext1_name
placeholder = site.register_freetext1_name
placeholder = site.register_freetext1_placeholder || site.register_freetext1_name
type = "text"
help_text = site.register_freetext1_help
filter = "html";
Expand All @@ -70,7 +70,7 @@
id = "freetext2"
name = "freetext2"
label = site.register_freetext2_name
placeholder = site.register_freetext2_name
placeholder = site.register_freetext2_placeholder || site.register_freetext2_name
type = "text"
help_text = site.register_freetext2_help
filter = "html";
Expand Down Expand Up @@ -111,8 +111,9 @@
INCLUDE fields/textarea.tt
id = "account_request_notes"
name = "account_request_notes"
label = "Notes"
label = site.account_request_notes.name || "Notes"
help_text = site.register_notes_help
placeholder = site.account_request_notes_placeholder || site.account_request_notes.name
filter = "html"
rows = 5;
%]
Expand Down

0 comments on commit 47c12cd

Please sign in to comment.