Skip to content

Commit

Permalink
поправил проблему с выбором режима у тех у кого по-умолчанию user lin…
Browse files Browse the repository at this point in the history
…e breaks
  • Loading branch information
maxcom committed May 3, 2012
1 parent 7c3cdeb commit a187da2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/jsp/add.jsp
Expand Up @@ -120,7 +120,7 @@
</p>
</c:if>

<c:if test="${form.mode == 'ntobr'}">
<c:if test="${template.prof.formatMode == 'ntobr'}">
<label>Разметка:*<br>
<form:select path="mode" items="${modes}"/></label><br>
</c:if>
Expand Down
5 changes: 1 addition & 4 deletions src/main/webapp/WEB-INF/tags/commentForm.tag
Expand Up @@ -42,14 +42,11 @@
<c:if test="${replyto != null}">
<input type=hidden name=replyto value="<%= replyto %>">
</c:if>
<c:if test="${mode == 'ntobr'}">
<c:if test="${template.prof.formatMode == 'ntobr'}">
<label for="mode">Разметка:*</label><br>
<select id="mode" name="mode">
<option value=quot <%= "quot".equals(mode)?"selected":""%> >TeX paragraphs w/quoting
<option value=ntobr <%= "ntobr".equals(mode)?"selected":""%> >User line breaks w/quoting
<%--
<option value=lorcode <%= "lorcode".equals(mode)?"selected":""%> >LORCODE
--%>
</select> <br>
</c:if>

Expand Down

0 comments on commit a187da2

Please sign in to comment.