title: Django - better way of multiple if's in template
body: <p>I have in template and variables <code>s1</code>, <code>s2</code>, <code>s3</code></p>
  
  <pre><code>&lt;input type="text" value="{% if s1 %}{{s1}}{% endif %}{% if s2 %}{{s2}}{% endif %}{% if s3 %}{{s3}}{% endif %}" /&gt;
  </code></pre>
  
  <p>is there better way of doing</p>
  
  <pre><code>{% if s1 %}{{s1}}{% endif %}{% if s2 %}{{s2}}{% endif %}{% if s3 %}{{s3}}{% endif %}
  </code></pre>
  
  <p>? </p>