-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
116 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{% extends "layouts/base.html" %} | ||
{% load render_table from django_tables2 %} | ||
{% load i18n django_bootstrap5 %} | ||
|
||
{% block title %}{% translate "Add" %} - {% translate "My author card" %}{{ block.super }}{% endblock %} | ||
|
||
{% block breadcrumbs %} | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12 my-auto"> | ||
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb"> | ||
<ol class="breadcrumb"> | ||
<li class="breadcrumb-item"><a href="{% url 'pages:home' %}">{% translate "Home" %}</a></li> | ||
<li class="breadcrumb-item"><a href="{% url 'profile:home' %}">{% translate "My space" %}</a></li> | ||
<li class="breadcrumb-item"><a href="{% url 'profile:info_card_view' %}">{% translate "My author card" %}</a></li> | ||
<li class="breadcrumb-item active" aria-current="page">{% translate "Add" %}</li> | ||
</ol> | ||
</nav> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="container"> | ||
<form id="profile_info_card_create_form" method="POST" action=""> | ||
{% csrf_token %} | ||
|
||
<div class="row"> | ||
<div class="col-md-8"> | ||
{% bootstrap_form form alert_error_type="all" %} | ||
</div> | ||
<!-- Sidebar --> | ||
<div class="col-md-4 d-none d-md-block"> | ||
|
||
</div> | ||
</div> | ||
|
||
<hr /> | ||
|
||
<div class="row"> | ||
<div class="col"> | ||
{% bootstrap_button button_type="submit" button_class="btn-primary" content=_("Add") %} | ||
{# {% bootstrap_button button_type="reset" button_class="btn-secondary" content=_("Cancel") %} #} | ||
<a class="btn btn-secondary" href="{% url 'profile:info_card_view' %}">{% translate "Cancel" %}</a> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
{% endblock %} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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