Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
6299e0eb
Verified
Commit
6299e0eb
authored
5 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Use bootstrap buttons instead of input tag.
parent
2981a8ed
Branches
616-docs-document-dashboard-and-dashboard-widgets
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!52
Use bootstrap buttons instead of input tag.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
biscuit/core/templates/contact_form/contact_form.html
+3
-1
3 additions, 1 deletion
biscuit/core/templates/contact_form/contact_form.html
biscuit/core/templates/registration/login.html
+7
-3
7 additions, 3 deletions
biscuit/core/templates/registration/login.html
with
10 additions
and
4 deletions
biscuit/core/templates/contact_form/contact_form.html
+
3
−
1
View file @
6299e0eb
...
...
@@ -10,6 +10,8 @@
<form
method=
"post"
>
{% csrf_token %}
{% bootstrap_form form %}
<input
type=
"submit"
value=
"Send"
/>
<button
type=
"submit"
class=
"btn btn-secondary"
>
{% blocktrans %}Send{% endblocktrans %}
</button>
</form>
{% endblock %}
This diff is collapsed.
Click to expand it.
biscuit/core/templates/registration/login.html
+
7
−
3
View file @
6299e0eb
{# -*- engine:django -*- #}
{% extends "core/base.html" %}
{% load bootstrap4 %}
{% load bootstrap4
i18n
%}
{% block content %}
{% if next %}
...
...
@@ -17,7 +17,11 @@
<form
method=
"post"
action=
"{% url 'login' %}"
>
{% csrf_token %}
{% bootstrap_form form %}
<input
type=
"submit"
value=
"Login"
/>
<input
type=
"hidden"
name=
"next"
value=
"{{ next }}"
>
<button
type=
"submit"
class=
"btn btn-secondary"
>
{% blocktrans %}Login{% endblocktrans %}
</button>
<button
type=
"hidden"
class=
"btn btn-secondary"
>
{{ next }}
</button>
</form>
{% endblock %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment