Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
1c2a07eb
Unverified
Commit
1c2a07eb
authored
Sep 01, 2020
by
Ram Mehta
Committed by
GitHub
Sep 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace bootstrap3 well class with bootstrap4 card
See
https://stackoverflow.com/a/38622102
parent
ad6a7f5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
inline_list_base.html
...in/templates/bootstrap4/admin/model/inline_list_base.html
+2
-2
No files found.
flask_admin/templates/bootstrap4/admin/model/inline_list_base.html
View file @
1c2a07eb
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
{# existing inline form fields #}
{# existing inline form fields #}
<div
class=
"inline-field-list"
>
<div
class=
"inline-field-list"
>
{% for subfield in field %}
{% for subfield in field %}
<div
id=
"{{ subfield.id }}"
class=
"inline-field
well well-sm
"
>
<div
id=
"{{ subfield.id }}"
class=
"inline-field
card card-body bg-light
"
>
{%- if not check or check(subfield) %}
{%- if not check or check(subfield) %}
<legend>
<legend>
<small>
<small>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
{# template for new inline form fields #}
{# template for new inline form fields #}
<div
class=
"inline-field-template hide"
>
<div
class=
"inline-field-template hide"
>
{% filter forceescape %}
{% filter forceescape %}
<div
class=
"inline-field
well well-sm
"
>
<div
class=
"inline-field
card card-body bg-light
"
>
<legend>
<legend>
<small>
{{ _gettext('New') }} {{ field.label.text }}
</small>
<small>
{{ _gettext('New') }} {{ field.label.text }}
</small>
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment