Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r19871: LJSUP-8857: Updating commenting form

Committer: esavintcev
LJSUP-8857: Updating commenting form
U   trunk/htdocs/stc/lj_base.css
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css	2011-08-26 09:02:15 UTC (rev 19870)
+++ trunk/htdocs/stc/lj_base.css	2011-08-26 09:55:33 UTC (rev 19871)
@@ -1174,6 +1174,9 @@
 	display: none;
 	width: 70%;
 	}
+.b-postform-alert-errors {
+	width: 70%;
+	}
 
 
 /* deleted */

Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-08-26 09:02:15 UTC (rev 19870)
+++ trunk/templates/CommentForm/Form.tmpl	2011-08-26 09:55:33 UTC (rev 19871)
@@ -18,9 +18,9 @@
         <TMPL_VAR form_intro>
         <TMPL_VAR tosagree>
         <TMPL_VAR create_link>
-        
-        <input type="hidden" name="json" value="1" />
 
+        <input type="hidden" name="json" value="0" />
+
         <table>
             <tr class="b-postform-loginbox">
                 <td align="right" valign="top" class="b-postform-login-label"><label for="login-current"><TMPL_VAR expr="ml('/talkpost.bml.opt.from')"></label></td>
@@ -176,11 +176,11 @@
                     <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-ajax"></p>
 
                     <TMPL_IF errors>
-                        <div>
-                            <TMPL_LOOP errors>
-                                <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><TMPL_VAR error></p>
-                            </TMPL_LOOP>
-                        </div>
+                    <div class="b-postform-user-errors">
+                        <TMPL_LOOP errors>
+                        <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-errors"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><TMPL_VAR error></p>
+                        </TMPL_LOOP>
+                    </div>
                     </TMPL_IF>
 
                     <TMPL_IF warnscreened>

Tags: css, livejournal, savintsev_egor, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments