<div class="modal fade" id="social_icon_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<h3 class="popup_title">Links</h3>
<div class="modal-body popup_contant popup_contant_social">
<form method="post" action = "{% url 'profile:userlinks_update'%}" role="form">
{% csrf_token %}
{{ form.non_field_errors }}
{{ linkitem_form.as_p }}
<div class="text-right">
<button type="submit" class="btn btn-default custom_btn submit_btn" style="padding:5px 20px">Submit</button>
</div>
</form>
</div>
</div>
</div>
<button data-dismiss="modal" style="padding:5px 20px" class="btn btn-default custom_btn cancel_btn" type="button">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
</div>