Commit 8bb2c82ef42402949504bdd8dae6058a7b8fa917

Authored by Zambom
1 parent 9817707a

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 {% for hidden in form.hidden_fields %}
12 12 {{ hidden }}
13 13 {% endfor %}
14   -
  14 +
15 15 {{ form.errors }}
16   -
  16 +
17 17 {% if form.instance.pk %}{{ form.DELETE }}{% endif %}
18   -
  18 +
19 19 <div class="form-group{% if form.has_error %} has-error {% endif %} row goal_item">
20 20 <div class="col-md-12">
21 21 <h4>{% trans 'Goal' %} {{ item.order }}: {{ item.description }}</h4>
... ... @@ -48,17 +48,23 @@
48 48 {% endfor %}
49 49  
50 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 64 </form>
59 65  
60 66 <hr />
61 67  
62 68 <div class="text-center">
63 69 <button type="submit" form="mygoals_submit" class="btn btn-success btn-raised">{% trans 'Save' %}</a>
64   -</div>
65 70 \ No newline at end of file
  71 +</div>
... ...