Skip to content

Commit

Permalink
#10 adds drawing to symptoms page
Browse files Browse the repository at this point in the history
  • Loading branch information
dangerdak committed Nov 29, 2017
1 parent d5cba34 commit 9dd6d54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/model/database/db_seed.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ BEGIN;
additional_info_svg TEXT,
concerns_svg TEXT,
hope_svg TEXT,
background_svg TEXT
background_svg TEXT,
keep_well_svg TEXT
);


Expand Down Expand Up @@ -92,6 +93,7 @@ BEGIN;
null,
null,
null,
null,
null
),
(
Expand Down Expand Up @@ -129,6 +131,7 @@ BEGIN;
null,
null,
null,
null,
null
);

Expand Down
5 changes: 4 additions & 1 deletion src/views/symptoms.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
<li class="f5 black-60 db mb2 tracked pt3 pb3 mr2"><span class='li mr2 w2'>&rarr;</span>
<label for="symptoms__well">What helps you to keep well? (e.g friends, support from family?)</label>
<br>
<textarea class="mt3 w-100 vh-5 ba b--black-30 br3 h4" type="text" name="keep_well" rows="8" cols="80" placeholder="Write here please" id="symptoms__well">{{data.keep_well}}</textarea>
<div class="dual-input js-dual-input mt3" id="keep_well">
{{>draw}}
<textarea class="input js-text-input w-100 h4" type="text" name="keep_well" rows="8" cols="80" placeholder="Write here please" id="symptoms__well">{{data.keep_well}}</textarea>
</div>
</li>
</ol>
{{>formnav}}
Expand Down

0 comments on commit 9dd6d54

Please sign in to comment.