-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧹
Marketplace
: DeliveryConstraint
s only set in DeliveryArea
- Prerequisite for #1420 - #1325 - #1136 - #1185 This does not get rid of the reading of the fields; but it does make it so they are no longer writable; which will make the "stop reading from them!" PR a bit tidier.
- Loading branch information
Showing
5 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
<div class="mt-3"> | ||
<%= form_with model: marketplace.location do |f| %> | ||
<%= render "money_field", { attribute: :delivery_fee, form: f, min: 0, step: 0.01} %> | ||
<%= render "text_field", { attribute: :notify_emails, form: f } %> | ||
<%= render "text_field", { attribute: :order_by, form: f } %> | ||
<%= render "text_field", { attribute: :delivery_window, form: f } %> | ||
|
||
<%= f.submit %> | ||
<% end %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters