app/soc/templates/soc/models/edit.html
changeset 2330 068540d91bde
parent 2159 a1f1eaaf458b
child 2340 f835e39b4dbc
equal deleted inserted replaced
2329:4e487ffd4102 2330:068540d91bde
    56     <input style="font-weight: bold" type="submit" value="Submit"/></span>
    56     <input style="font-weight: bold" type="submit" value="Submit"/></span>
    57    </td>
    57    </td>
    58    {% endif %}
    58    {% endif %}
    59    {% endblock %}
    59    {% endblock %}
    60    <td>
    60    <td>
    61    {% if edit_cancel_redirect %}
    61      {% if cancel_redirect %}
    62    <input type="button" onclick="location.href='{{ edit_cancel_redirect }}'" value="Cancel"/>
    62      <input type="button" 
    63    {% else %}
    63        {% if entity %}
    64    <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
    64        onclick="location.href='{{ cancel_redirect }}'" 
    65    {% endif %}
    65        {% else %}
       
    66        onClick="javascript: history.go(-1)">
       
    67        {% endif %}
       
    68      value="Cancel"/>
       
    69      {% else %}
       
    70      <input type="button" value="Back to Previous Page" onClick="javascript:history.go(-1)">
       
    71      {% endif %}
    66    </td>
    72    </td>
    67    {% if entity %}
    73    {% if entity %}
    68    {% block delete_button %}
    74    {% block delete_button %}
    69    <td>
    75    <td>
    70 
    76