Commits

Benoît Allard  committed d6523b4

webui: Add a signoff default value, prevent issue56

  • Participants
  • Parent commits a21fcb3

Comments (0)

Files changed (2)

 syntax: glob
 
 *.pyc
+*.pyo
 .DS_Store
 tags
 .ropeproject

File review/templates/pieces/forms/signoff.html

         <div class="field">
             <input id="id_signoff-form_yes" type="radio" name="signoff" value="yes" {% if cu_signoff and cu_signoff.opinion == 'yes' %}checked{% endif %}/><label class="radio" for="id_signoff-form_yes">Yes</label>
             <input id="id_signoff-form_no"type="radio" name="signoff" value="no" {% if cu_signoff and cu_signoff.opinion == 'no' %}checked{% endif %}/><label class="radio" for="id_signoff-form_no">No</label>
-            <input id="id_signoff-form_neutral"type="radio" name="signoff" value="neutral" {% if cu_signoff and cu_signoff.opinion == '' %}checked{% endif %}/><label class="radio" for="id_signoff-form_neutral">Neutral</label>
+            <input id="id_signoff-form_neutral"type="radio" name="signoff" value="neutral" {% if not cu_signoff or cu_signoff.opinion == '' %}checked{% endif %}/><label class="radio" for="id_signoff-form_neutral">Neutral</label>
         </div>
 
         <div class="field">