@@ -70,7 +70,7 @@ After editing the line, your HTML file should now look like this:
7070<html >
7171 <head >
7272 <title >Django Girls blog</title >
73- <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/bootstrap@4.5. 3/dist/css/bootstrap.min.css" integrity =" sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2 " crossorigin =" anonymous" >
73+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/bootstrap@5.1. 3/dist/css/bootstrap.min.css" integrity =" sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3 " crossorigin =" anonymous" >
7474 <link href =' //fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel =' stylesheet' type =' text/css' >
7575 <link rel =" stylesheet" href =" {% static 'css/blog.css' %}" >
7676 </head >
@@ -163,7 +163,7 @@ OK, so let's see how the HTML in `post_edit.html` should look:
163163 <h2 >New post</h2 >
164164 <form method =" POST" class =" post-form" >{% csrf_token %}
165165 {{ form.as_p }}
166- <button type =" submit" class =" save btn btn-default " >Save</button >
166+ <button type =" submit" class =" save btn btn-secondary " >Save</button >
167167 </form >
168168{% endblock %}
169169```
@@ -290,7 +290,7 @@ Open `blog/templates/blog/post_detail.html` in the code editor and add the follo
290290{% filename %}blog/templates/blog/post_detail.html{% endfilename %}
291291``` html
292292<aside class =" actions" >
293- <a class =" btn btn-default " href =" {% url 'post_edit' pk=post.pk %}" >
293+ <a class =" btn btn-secondary " href =" {% url 'post_edit' pk=post.pk %}" >
294294 {% include './icons/pencil-fill.svg' %}
295295 </a >
296296</aside >
@@ -305,7 +305,7 @@ so that the template will look like this:
305305{% block content %}
306306 <article class =" post" >
307307 <aside class =" actions" >
308- <a class =" btn btn-default " href =" {% url 'post_edit' pk=post.pk %}" >
308+ <a class =" btn btn-secondary " href =" {% url 'post_edit' pk=post.pk %}" >
309309 {% include './icons/pencil-fill.svg' %}
310310 </a >
311311 </aside >
@@ -408,7 +408,7 @@ Open `blog/templates/blog/post_detail.html` in the code editor and find this lin
408408
409409{% filename %}blog/templates/blog/post_detail.html{% endfilename %}
410410``` html
411- <a class =" btn btn-default " href =" {% url 'post_edit' pk=post.pk %}" >
411+ <a class =" btn btn-secondary " href =" {% url 'post_edit' pk=post.pk %}" >
412412 {% include './icons/pencil-fill.svg' %}
413413</a >
414414```
@@ -418,7 +418,7 @@ Change it to this:
418418{% filename %}blog/templates/blog/post_detail.html{% endfilename %}
419419``` html
420420{% if user.is_authenticated %}
421- <a class =" btn btn-default " href =" {% url 'post_edit' pk=post.pk %}" >
421+ <a class =" btn btn-secondary " href =" {% url 'post_edit' pk=post.pk %}" >
422422 {% include './icons/pencil-fill.svg' %}
423423 </a >
424424{% endif %}
0 commit comments