This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% extends 'base.html' %} | |
| {% block title %} | |
| Новый пост | |
| {% endblock %} | |
| {% block content %} | |
| <div class="row justify-content-center"> | |
| <div class="col-md-8 p-5"> | |
| <div class="card"> | |
| <div class="card-header"> | |
| Зарегистрироваться |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% load user_filters %} | |
| {% if form.errors %} | |
| {% for field in form %} | |
| {% for error in field.errors %} | |
| <div class="alert alert-danger"> | |
| {{ error|escape }} | |
| </div> | |
| {% endfor %} | |
| {% endfor %} | |
| {% for error in form.non_field_errors %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " alternatively, pass a path where Vundle should install plugins | |
| "call vundle#begin('~/some/path/here') | |
| " let Vundle manage Vundle, required |