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
e35e9015
Commit
e35e9015
authored
Jun 29, 2014
by
Serge S. Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor typo fixes related to #570
parent
cec76cbe
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
.gitignore
.gitignore
+1
-0
ajax.py
flask_admin/contrib/mongoengine/ajax.py
+1
-1
create.html
flask_admin/templates/bootstrap3/admin/model/create.html
+2
-0
No files found.
.gitignore
View file @
e35e9015
...
...
@@ -18,6 +18,7 @@ venv
__pycache__
examples/sqla-inline/static
examples/file/files
examples/forms/files
.DS_Store
.idea/
*.sqlite
flask_admin/contrib/mongoengine/ajax.py
View file @
e35e9015
...
...
@@ -133,7 +133,7 @@ def process_ajax_references(references, view):
field
=
getattr
(
model
,
name
,
None
)
if
not
field
:
raise
ValueError
(
'Invalid subdocument field
%
s.
%
s'
)
raise
ValueError
(
'Invalid subdocument field
%
s.
%
s'
%
(
model
,
name
)
)
handle_field
(
field
,
doc
,
make_name
(
base
,
name
))
...
...
flask_admin/templates/bootstrap3/admin/model/create.html
View file @
e35e9015
...
...
@@ -13,6 +13,7 @@
{% endblock %}
{% block body %}
{% block navlinks %}
<ul
class=
"nav nav-tabs"
>
<li>
<a
href=
"{{ return_url }}"
>
{{ _gettext('List') }}
</a>
...
...
@@ -21,6 +22,7 @@
<a
href=
"javascript:void(0)"
>
{{ _gettext('Create') }}
</a>
</li>
</ul>
{% endblock %}
{% call lib.form_tag(form) %}
{{ lib.render_form_fields(form, form_opts=form_opts) }}
...
...
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