Clarify function of buttons on profile form

* "return to dashboard" throws away changes, so change the label to
  "cancel" to make this more clear.
* "Save profile" is probably the button you're looking for, so flag it
  as btn-success to make this clear.
This commit is contained in:
James Polley 2017-10-04 18:04:35 +11:00
parent 4ce5f1daa0
commit 3c6c98021d

View file

@ -34,8 +34,10 @@ THIS IS THE FORM
{% include "_form_snippet.html" with form=form %}
<br />
<div class="btn-group">
<input class="btn" type="submit" value="Save Profile" />
<a class="btn btn-primary" href="{% url "dashboard" %}">Return to dashboard</a>
<input class="btn btn-success" type="submit" value="Save Profile" />
{% if user.attendee %}
<a class="btn btn-info" href="{% url "dashboard" %}">Cancel</a>
{% endif %}
</div>
</fieldset>
</form>