Line # Revision Author
1 296 ahitrov <form name="feedbackform" id="feedbackform" action=".<% $ajax ? '/ajax' : '' %>/feedback.html" onsubmit="return check_fields(this);" method="post">
2 <table border="0">
3 <tr>
4 <td class="r--vtop">
5 <div>
6 Ваше имя:<br>
7 <input id="name" type="Text" name="name" size="30" maxlength="200" value="<% $ARGS{name} |h %>">
8 </div>
9 <div>
10 Фамилия:<br>
11 <input id="lastname" type="Text" name="lastname" size="30" maxlength="200" value="<% $ARGS{lastname} |h %>">
12 </div>
13 <div>
14 Электронная почта:<br>
15 <input id="email" type="Text" name="email" size="30" maxlength="200" value="<% $ARGS{email} |h %>">
16 </div>
17 <div>
18 Компания:<br>
19 <input id="job" type="Text" name="job" size="30" maxlength="200" value="<% $ARGS{job} |h %>">
20 </div>
21 <div>
22 Должность:<br>
23 <input id="position" type="Text" name="position" size="30" maxlength="200" value="<% $ARGS{position} |h %>">
24 </div>
25 </td>
26 <td width="100%" class="r--vtop">
27 % if ( $ajax ) {
28 <div class="close" onclick="javascript:hideObject(mailform)"><img src="/i/<% $prj %>/close.gif" width="13" height="13" alt="" border="0"></div>
29 % }
30 <div>
31 Ваш вопрос:<br>
32 <textarea id="question" cols="30" rows="5" name="question"><% $ARGS{question} |h %></textarea>
33 <input type="submit" value="отправить" class="sendButton">
34 <input id="doc_id" type="hidden" name="doc_id" value="<% $ARGS{id} || $ARGS{doc_id} %>">
35 <input id="filled" type="hidden" name="filled" value="Отправить">
36 </div>
37 </td>
38 </tr>
39 </table>
40 </form>
41 <%args>
42
43 $ajax => undef
44
45 </%args>
46 <%init>
47
48 my $prj = $request->{project};
49 my $profile = $request->{project_profile};
50 my $root = $request->{project_section};
51
52 </%init>