-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to remove attributes from product #1493
Conversation
<div class="col-md-11"> | ||
{{ form_widget(member[form.type.vars.value], {'attr': {'class': 'select2 float-right input-large'}}) }} | ||
</div> | ||
<div class="col-md-1"> | ||
<a href="#" class="btn btn-danger collection-remove-btn float-left"><i class="glyphicon glyphicon-trash icon-white"></i></a> | ||
<a href="#" class="btn btn-danger collection-remove-btn float-left" data-collection-button="delete" data-collection="sylius-zone-members" data-collection-item="{{ form.type.vars.value }}"><i class="glyphicon glyphicon-trash icon-white"></i></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC this CSS class: collection-remove-btn
can be removed.
i would love to see this integrated |
Yes, i hope this features is integrated soon :) |
@lbaey Please "squash" you commits a bit (at least to remove duplicates & "merge" commits), you should not "merge" master branches into your fork, you should use "rebase" functionality. |
@lbaey I have fixed you branch, it should work now as expected =) |
@stloyd thank you so much |
@pjedrzejewski 👍 for this one ;) |
Add ability to remove attributes from product
Thank you @lbaey! |
I've been asked to add attribute value removal functionality to the Backend product form.
This is how I did it, what do you think ?