Guest User

Untitled

a guest
Dec 8th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfif thisTag.executionMode eq "end">
  2.    
  3.     <cfoutput>
  4.     <cfif structKeyExists(caller, "message")>
  5.        
  6.         <div class="ui-widget">
  7.         <div class="ui-state-highlight ui-corner-all">
  8.             <p>
  9.                 <span class="ui-icon ui-icon-info"></span>
  10.                 #caller.message#
  11.             </p>
  12.         </div>
  13.         </div>
  14.        
  15.     </cfif>
  16.    
  17.     <cfif structKeyExists(caller, "errors")>
  18.        
  19.         <div id="validator-messages" class="ui-widget">
  20.             <ul class="ui-state-error ui-corner-all">
  21.            
  22.             <cfloop array="#caller.errors#" index="error">
  23.                 <li>
  24.                     <span class="ui-icon ui-icon-alert"></span>
  25.                     #error#
  26.                 </li>
  27.             </cfloop>
  28.    
  29.             </ul>
  30.         </div>
  31.        
  32.     </cfif>
  33.     </cfoutput>
  34.  
  35. </cfif>
Add Comment
Please, Sign In to add comment