modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-form.js.ftl
changeset 9076 c4f1a5c7d7c2
child 9947 97824aacf489
equal deleted inserted replaced
9075:b3ea04de2722 9076:c4f1a5c7d7c2
       
     1 /*
       
     2  *************************************************************************
       
     3  * The contents of this file are subject to the Openbravo  Public  License
       
     4  * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
       
     5  * Version 1.1  with a permitted attribution clause; you may not  use this
       
     6  * file except in compliance with the License. You  may  obtain  a copy of
       
     7  * the License at http://www.openbravo.com/legal/license.html 
       
     8  * Software distributed under the License  is  distributed  on  an "AS IS"
       
     9  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
       
    10  * License for the specific  language  governing  rights  and  limitations
       
    11  * under the License.
       
    12  * The Original Code is Openbravo ERP.
       
    13  * The Initial Developer of the Original Code is Openbravo SLU
       
    14  * All portions are Copyright (C) 2010 Openbravo SLU
       
    15  * All Rights Reserved.
       
    16  * Contributor(s):  ______________________________________.
       
    17  ************************************************************************
       
    18 */
       
    19 
       
    20 isc.OBViewForm.create({
       
    21     titleOrientation: 'top',
       
    22     fields: [
       
    23     <#list data.fields as field>
       
    24       <@createField field/><#if field_has_next>,</#if>
       
    25     </#list>
       
    26     ]
       
    27 })