aboutsummaryrefslogtreecommitdiffstats
path: root/templates/website/report-form
blob: fd6fc631dc5f694f5298d56b5a9708bc1f7aff3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{{ $form_start }}
{{ $page_heading }}

{{ $text_located }}

{{ $text_help }}

{{ $errors }}

<div id="problem_form">
{{ $form_heading }}
<div id="fieldset">


{{ if ( $field_errors{category}) {
    "<div class='form-error'>$field_errors{category}</div>";
} }}

<div class="form-field">{{ $category }}</div>

{{ if ( $field_errors{title}) {
    "<div class='form-error'>$field_errors{title}</div>";
} }}
<div class="form-field">
<label for="form_title">{{ $subject_label }}</label>
<input type="text" value="{{ $input_h{title} }}" name="title" id="form_title" size="25"></div>
{{ if ( $field_errors{detail}) {
    "<div class='form-error'>$field_errors{detail}</div>";
} }}
<div class="form-field">
<label for="form_detail">{{ $detail_label }}</label>

<textarea name="detail" id="form_detail" rows="7" cols="26">{{ $input_h{detail} }}</textarea></div>

{{ $partial_field }}

{{ if ( $field_errors{photo}) {
    "<div class='form-error'>$field_errors{photo}</div>";
} }}
{{ $photo_field }}

{{ if ( $field_errors{name}) {
    "<div class='form-error'>$field_errors{name}</div>";
} }}
<div class='form-field'>
<label for="form_name">{{ $name_label }}</label>
<input type="text" value="{{ $input_h{name} }}" name="name" id="form_name" size="25"></div>
<div class="checkbox"><input type="checkbox" name="anonymous" id="form_anonymous" value="1"{{ $anon }}>
<label for="form_anonymous">{{ $anonymous }}</label>
<small>{{ $anonymous2 }}</small></div>
{{ if ( $field_errors{email}) {
    "<div class='form-error'>$field_errors{email}</div>";
} }}
<div class="form-field">
<label for="form_email">{{ $email_label }}</label>
<input type="text" value="{{ $input_h{email} }}" name="email" id="form_email" size="25"></div>
<div><label for="form_phone">{{ $phone_label }}</label>
<input type="text" value="{{ $input_h{phone} }}" name="phone" id="form_phone" size="15">
<small>{{ $optional }}</small></div>

{{ $text_notes }}

<p id="problem_submit"><input type="submit" name="submit_problem" value="{{ $submit_button }}"></p>
</div>
</div>

{{ $map_end }}