Commit 3e80bc48 authored by Daniel W Bond's avatar Daniel W Bond

merging in the oceleotsloth edit name to pencil icon change

parents eefb570e 2300e96d
......@@ -19,7 +19,7 @@
<div class="col-md-6">
<h2><strong>{{ student.get_full_name_or_uname }}</strong>
{% if student.user == request.user %}
<small><a href="{% url 'name_change' %}">(Edit)</a></small>
<small><a href="{% url 'name_change' %}"><i class="fa fa-pencil"></i></a></small>
{% endif %}
......@@ -5,6 +5,7 @@ SRCT Bookshare &bull; Edit Name
{% endblock title %}
{% block content %}
{% load gravatar %}
<div class="row">
<div class="col-lg-12 text-center">
......@@ -13,10 +14,25 @@ SRCT Bookshare &bull; Edit Name
<div class="row">
<div class="col-md-4 col-md-offset-2">
<img class="img-circle img-responsive" style="margin-left:auto;margin-right:auto;padding:10px"; src="{% gravatar_url 150 %}">
<div class="col-md-4">
<hr />
If you have a <a href="">Gravatar profile</a> associated
with your <a href="">Masonlive email</a> address, we will
display that profile picture.
<hr />
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
<div class="row">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment