AnsweredAssumed Answered

headerpane.hbs customize for account module.

Question asked by Bhavin Patel on May 24, 2016
Latest reply on May 25, 2016 by Bhavin Patel

Hello

How can i  modify headerpane.hbs for acccount module.

i tried to add check boxes in Headerpane part of the account module.

i tried custom/modules/Accounts/clients/base/views/headerpane/headerpane.hbs

 

<div class="headerpane">

    <h1>

        {{#each meta.fields}}

            <span class="record-cell" data-type="{{type}}" data-name="{{name}}">

                <span class="table-cell-wrapper">

                    <span class="index" data-fieldname="{{name}}" data-index="">

                        {{field ../this model=../this.model}}

                    </span>

                </span>

            </span>

        {{/each}}

        <div class="btn-toolbar pull-right dropdown">

            {{#each meta.buttons}}

                {{field ../this}}

            {{/each}}

        </div>

    </h1>

   

</div>

<table width="100%" cellspacing="0" cellpadding="0" border="0">

    <form>

    <tr>

    <td colspan=5> 

            <fieldset style="text-align:left;border-bottom: 1px solid #98C6EA;border:1px solid #98C6EA;width: 50%;">

               <table width="100%" cellspacing="0" cellpadding="0" border="0" >

                <tr><td >                  

                     Name  

                        <input type="checkbox" name="account_name" id="account_name" {php} if($account_name == "on"){echo "CHECKED";}{/php}/>                      

                        </td></tr>

                     </form>

    </table>

 

 

but it is not working.

Outcomes