Commit 8bb2c82ef42402949504bdd8dae6058a7b8fa917
1 parent
9817707a
Exists in
master
and in
2 other branches
Including warning image in goals
Showing
1 changed file
with
17 additions
and
11 deletions
Show diff stats
goals/templates/goals/_form_submit.html
@@ -11,11 +11,11 @@ | @@ -11,11 +11,11 @@ | ||
11 | {% for hidden in form.hidden_fields %} | 11 | {% for hidden in form.hidden_fields %} |
12 | {{ hidden }} | 12 | {{ hidden }} |
13 | {% endfor %} | 13 | {% endfor %} |
14 | - | 14 | + |
15 | {{ form.errors }} | 15 | {{ form.errors }} |
16 | - | 16 | + |
17 | {% if form.instance.pk %}{{ form.DELETE }}{% endif %} | 17 | {% if form.instance.pk %}{{ form.DELETE }}{% endif %} |
18 | - | 18 | + |
19 | <div class="form-group{% if form.has_error %} has-error {% endif %} row goal_item"> | 19 | <div class="form-group{% if form.has_error %} has-error {% endif %} row goal_item"> |
20 | <div class="col-md-12"> | 20 | <div class="col-md-12"> |
21 | <h4>{% trans 'Goal' %} {{ item.order }}: {{ item.description }}</h4> | 21 | <h4>{% trans 'Goal' %} {{ item.order }}: {{ item.description }}</h4> |
@@ -48,17 +48,23 @@ | @@ -48,17 +48,23 @@ | ||
48 | {% endfor %} | 48 | {% endfor %} |
49 | 49 | ||
50 | <hr /> | 50 | <hr /> |
51 | - | ||
52 | - <div class="form-group"> | ||
53 | - <div class="col-md-12"> | ||
54 | - <h4><b>{% trans 'There are obstacles to your activities?' %}</b></h4> | ||
55 | - <textarea class="form-control" id="dificulties" name="dificulties" placeholder="{% trans 'Type here the dificulties that may harm your performance' %}"></textarea> | ||
56 | - </div> | ||
57 | - </div> | 51 | + <div class="form-group" style="background-color:#fff; box-shadow: 1px 1px 10px #c0beaf; margin-top: 40px;"> |
52 | + <div class="row"> | ||
53 | + <div class="col-md-1" style="padding-left: 25px; padding-top: 10px;"> | ||
54 | + <img src="{% static 'img/warning.png' %}" height="80" width="95"/> | ||
55 | + </div> | ||
56 | + <div class="col-md-11"> | ||
57 | + <div class="row"> | ||
58 | + <div style="padding-left: 30px;"><h4><b>{% trans 'There are obstacles to your activities?' %}</b></h4></div> | ||
59 | + <div style="padding-left: 30px; padding-right:35px"><textarea class="form-control" id="dificulties" name="dificulties" placeholder="{% trans 'Type here the dificulties that may harm your performance' %}"></textarea></div> | ||
60 | + </div> | ||
61 | + </div> | ||
62 | + </div> | ||
63 | + </div> | ||
58 | </form> | 64 | </form> |
59 | 65 | ||
60 | <hr /> | 66 | <hr /> |
61 | 67 | ||
62 | <div class="text-center"> | 68 | <div class="text-center"> |
63 | <button type="submit" form="mygoals_submit" class="btn btn-success btn-raised">{% trans 'Save' %}</a> | 69 | <button type="submit" form="mygoals_submit" class="btn btn-success btn-raised">{% trans 'Save' %}</a> |
64 | -</div> | ||
65 | \ No newline at end of file | 70 | \ No newline at end of file |
71 | +</div> |