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
1065d833
Commit
1065d833
authored
Aug 17, 2015
by
Paul Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cancel button back, remove right alignment of form buttons
parent
ffc5ecd1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
lib.html
flask_admin/templates/bootstrap2/admin/lib.html
+1
-1
create.html
flask_admin/templates/bootstrap2/admin/model/create.html
+1
-1
edit.html
flask_admin/templates/bootstrap2/admin/model/edit.html
+1
-1
lib.html
flask_admin/templates/bootstrap3/admin/lib.html
+1
-1
create.html
flask_admin/templates/bootstrap3/admin/model/create.html
+1
-1
edit.html
flask_admin/templates/bootstrap3/admin/model/edit.html
+1
-1
No files found.
flask_admin/templates/bootstrap2/admin/lib.html
View file @
1065d833
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
{% macro render_form_buttons(cancel_url, extra=None, is_modal=False) %}
{% macro render_form_buttons(cancel_url, extra=None, is_modal=False) %}
<hr>
<hr>
<div
class=
"control-group
pull-right
"
>
<div
class=
"control-group"
>
<div
class=
"controls"
>
<div
class=
"controls"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"{{ _gettext('Save') }}"
/>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"{{ _gettext('Save') }}"
/>
{% if extra %}
{% if extra %}
...
...
flask_admin/templates/bootstrap2/admin/model/create.html
View file @
1065d833
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</ul>
</ul>
{% endblock %}
{% endblock %}
{{ lib.render_form(form,
cancel_url=None, extra=extra(), form_opts=
form_opts) }}
{{ lib.render_form(form,
return_url, extra(),
form_opts) }}
{% endblock %}
{% endblock %}
{% block tail %}
{% block tail %}
...
...
flask_admin/templates/bootstrap2/admin/model/edit.html
View file @
1065d833
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</ul>
</ul>
{% endblock %}
{% endblock %}
{{ lib.render_form(form,
cancel_url=None, extra=extra(), form_opts=
form_opts) }}
{{ lib.render_form(form,
return_url, extra(),
form_opts) }}
{% endblock %}
{% endblock %}
{% block tail %}
{% block tail %}
...
...
flask_admin/templates/bootstrap3/admin/lib.html
View file @
1065d833
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
{% macro render_form_buttons(cancel_url, extra=None, is_modal=False) %}
{% macro render_form_buttons(cancel_url, extra=None, is_modal=False) %}
<hr>
<hr>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<div
class=
"col-md-offset-2 col-md-10 submit-row
text-right
"
>
<div
class=
"col-md-offset-2 col-md-10 submit-row"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"{{ _gettext('Save') }}"
/>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"{{ _gettext('Save') }}"
/>
{% if extra %}
{% if extra %}
{{ extra }}
{{ extra }}
...
...
flask_admin/templates/bootstrap3/admin/model/create.html
View file @
1065d833
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</ul>
</ul>
{% endblock %}
{% endblock %}
{{ lib.render_form(form,
cancel_url=None, extra=extra(), form_opts=
form_opts) }}
{{ lib.render_form(form,
return_url, extra(),
form_opts) }}
{% endblock %}
{% endblock %}
{% block tail %}
{% block tail %}
...
...
flask_admin/templates/bootstrap3/admin/model/edit.html
View file @
1065d833
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</ul>
</ul>
{% endblock %}
{% endblock %}
{{ lib.render_form(form,
cancel_url=None, extra=extra(), form_opts=
form_opts) }}
{{ lib.render_form(form,
return_url, extra(),
form_opts) }}
{% endblock %}
{% endblock %}
{% block tail %}
{% block tail %}
...
...
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