Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ecommerce
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
ecommerce
Commits
7f604df7
Commit
7f604df7
authored
May 23, 2016
by
Malik Shahzad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL-456: Seat Quantity field minimum Value set from views.
parent
e92c78bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
ecommerce/extensions/basket/views.py
+1
-0
ecommerce/templates/oscar/basket/partials/basket_content.html
+1
-1
No files found.
ecommerce/extensions/basket/views.py
View file @
7f604df7
...
...
@@ -168,5 +168,6 @@ class BasketSummaryView(BasketView):
'homepage_url'
:
get_lms_url
(
''
),
'formset_lines_data'
:
zip
(
formset
,
lines_data
),
'is_verification_required'
:
is_verification_required
,
'min_seat_quantity'
:
1
,
})
return
context
ecommerce/templates/oscar/basket/partials/basket_content.html
View file @
7f604df7
...
...
@@ -34,7 +34,7 @@
<div
class=
"col-lg-2 col-md-2 col-sm-6 form-inline"
>
<div
class=
"checkout-quantity form-group"
>
<div
class=
"input-group {% if form.errors %}error{% endif %}"
>
{% render_field form.quantity class+="quantity form-control" %}
{% render_field form.quantity class+="quantity form-control"
min=min_seat_quantity
%}
<button
class=
"btn btn-default"
type=
"submit"
data-loading-text=
"{% trans 'Updating...' %}"
>
{% trans "Update" %}
</button>
</div>
</div>
...
...
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