Revision 296 (by ahitrov, 2013/03/26 17:59:01) Promosite (anthill) project source
<form name="feedbackform" id="feedbackform" action=".<% $ajax ? '/ajax' : '' %>/feedback.html" onsubmit="return check_fields(this);" method="post">
<table border="0">
<tr>
<td class="r--vtop">
<div>
Ваше имя:<br>
<input id="name" type="Text" name="name" size="30" maxlength="200" value="<% $ARGS{name} |h %>">
</div>
<div>
Фамилия:<br>
<input id="lastname" type="Text" name="lastname" size="30" maxlength="200" value="<% $ARGS{lastname} |h %>">
</div>
<div>
Электронная почта:<br>
<input id="email" type="Text" name="email" size="30" maxlength="200" value="<% $ARGS{email} |h %>">
</div>
<div>
Компания:<br>
<input id="job" type="Text" name="job" size="30" maxlength="200" value="<% $ARGS{job} |h %>">
</div>
<div>
Должность:<br>
<input id="position" type="Text" name="position" size="30" maxlength="200" value="<% $ARGS{position} |h %>">
</div>
</td>
<td width="100%" class="r--vtop">
% if ( $ajax ) {
<div class="close" onclick="javascript:hideObject(mailform)"><img src="/i/<% $prj %>/close.gif" width="13" height="13" alt="" border="0"></div>
% }
<div>
Ваш вопрос:<br>
<textarea id="question" cols="30" rows="5" name="question"><% $ARGS{question} |h %></textarea>
<input type="submit" value="отправить" class="sendButton">
<input id="doc_id" type="hidden" name="doc_id" value="<% $ARGS{id} || $ARGS{doc_id} %>">
<input id="filled"  type="hidden" name="filled" value="Отправить">
</div>
</td>
</tr>
</table>
</form>
<%args>

	$ajax	=> undef

</%args>
<%init>

  my $prj = $request->{project};
  my $profile = $request->{project_profile};
  my $root = $request->{project_section};

</%init>