app/soc/templates/soc/site/docs/edit.html
changeset 314 dfaf249c12b2
parent 291 5905c8e97e68
child 374 9363b9dc2983
equal deleted inserted replaced
313:c25b1b680ba7 314:dfaf249c12b2
    53     <input style="font-weight: bold" type="submit" value="Save Changes"/></span>
    53     <input style="font-weight: bold" type="submit" value="Save Changes"/></span>
    54    </td>
    54    </td>
    55    <td>
    55    <td>
    56     <input type="button" onclick="location.href='/'" value="Cancel"/>
    56     <input type="button" onclick="location.href='/'" value="Cancel"/>
    57    </td>
    57    </td>
       
    58    {% if existing_doc %}
       
    59    <td>
       
    60     <input type="button" onclick="location.href='/site/docs/{{ existing_doc.partial_path }}/{{ existing_doc.link_name }}/delete'" value="Delete"/>
       
    61    </td>
       
    62    {% endif %}
    58    {% endblock %}
    63    {% endblock %}
    59   </tr>
    64   </tr>
    60  </table>
    65  </table>
    61 </form>
    66 </form>
    62 </p>
    67 </p>