diff options
-rw-r--r-- | templates/website/problem | 2 | ||||
-rwxr-xr-x | web/index.cgi | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/website/problem b/templates/website/problem index aba6b009c..4debc1d2e 100644 --- a/templates/website/problem +++ b/templates/website/problem @@ -37,7 +37,7 @@ <input type="hidden" name="submit_update" value="1"> <input type="hidden" name="id" value="{{ $input_h{id} }}"> <div><label for="form_name">{{ $name_label }}</label> -<input type="text" name="name" id="form_name" value="{{ $input_h{name} }}" size="20"> (optional)</div> +<input type="text" name="name" id="form_name" value="{{ $input_h{name} }}" size="20"> {{ $optional }}</div> {{ if ( $field_errors{email}) { "<div class='form-error'>$field_errors{email}</div>"; } }} diff --git a/web/index.cgi b/web/index.cgi index 7b829ae32..50126d072 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -1073,6 +1073,7 @@ sub display_problem { cobrand_form_elements => Cobrand::form_elements($cobrand, 'updateForm', $q), form_action => Cobrand::url($cobrand, '/', $q), input_h => \%input_h, + optional => _('(optional)'), ); $vars{update_blurb} = $q->p($q->small(_('Please note that updates are not sent to the council. If you leave your name it will be public. Your information will only be used in accordance with our <a href="/faq#privacy">privacy policy</a>'))) |