Click here to Skip to main content
15,867,906 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello i don't know what is the problem with my template. My template is decomposed into 3 types of radio buttons : Long, short, long and short When i click on each radio button a form appears. Till now everything is okay. But i want to put in the form of radio button "long and short", two accordions one is called long and the other is short. I don't know what is the problem with the code it didn't work.
The two accordions don't appear in the template

The link of the template picture is :
problem code project - Album on Imgur[^]

What I have tried:

<div id="tab3" class="tab">
 
  
  <section class="box">
   Long
   
   <div class="box-content">
    
            {% csrf_token %}

            {% include 'tags/parameters_form.html' %}
            <br>
            {% include 'tags/parameters_backtest_form.html' %}
            <br>
            {% include 'tags/parameters_filters_form.html' %}
            <br>
            {% if user.is_authenticated %}
            
              {% if user.profile.is_active %}
                    Name: {{ form.title }} 
              {% else %}
                    <p>Expired account! you need to reactivate in order to save parameters.</p>
              {% endif %}
                
         </div> 
        </section>    

            
      
            {% else %}
                                     Please <a href="%7B%25%20url%20'auth_login'%20%25%7D">login</a> in order to Run backtesting!
                 <br>
                 Our system needs your email in order to notify you once one or more of your simulations are done. This is a safer way for you to keep track of your previous simulations (/jobs).   

            {% endif %}
         
       </div>
Posted
Updated 29-May-17 23:15pm
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900