Skip to content

Commit

Permalink
Fixed placeholder and added backlink to create list page
Browse files Browse the repository at this point in the history
  • Loading branch information
bamiesking committed Nov 15, 2020
1 parent 3eb1593 commit f967f87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/questions/create_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ <h1 class="title">breakingboundr.io</h1>
<form class="formStyle" action="" method="post" novalidate>
{{ form.hidden_tag() }}
<dl class="form-group">
{{ render_field(form.title, class='form-control titlecard', placeholder='Enter your question & corresponding answer') }}
{{ render_field(form.title, class='form-control titlecard', placeholder='What is your question list about?') }}
</dl>
<dl>
{{ render_field(form.submit, class='btn btn-lg btn-secondary btn-block') }}
{{ render_field(form.submit, class='btn btn-lg btn-secondary btn-block') }}
<div class="text-center">
<a href="{{ url_for('questions.view_lists') }}">Cancel</a>
</div>
</dl>
</form>
</div>
Expand Down
1 change: 1 addition & 0 deletions templates/questions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ <h5 class="card-title largeFont">Question Lists</h5>
{% for list in lists %}
<a class="list-group-item list-group-item-active" href="{{ url_for('questions.view_list', list_id=list.id)}}">{{ list.title }}</a>
{% endfor %}
<a class="list-group-item list-group-item-active" href="{{ url_for('questions.create_list')}}">Create new list</a>
</ul>
</div>
</div>
Expand Down

0 comments on commit f967f87

Please sign in to comment.