|
3 | 3 | <div class="ibexa-table-header "> |
4 | 4 | <div class="ibexa-table-header__headline">{{ "tab.header.title"|trans }}</div> |
5 | 5 | <div> |
6 | | - <button class="btn btn-primary ibexa-btn--prevented" |
| 6 | + <button class="btn ibexa-btn ibexa-btn--primary ibexa-btn--extra-actions ibexa-btn--create" |
7 | 7 | title="{{ "tab.modal.title"|trans }}" |
8 | 8 | data-toggle="modal" |
9 | 9 | data-target="#ibexa-modal--add-content-protection" |
10 | 10 | data-bs-toggle="modal" |
11 | 11 | data-bs-target="#ibexa-modal--add-content-protection" |
12 | 12 | > |
13 | | - <svg class="ibexa-icon ibexa-icon--tiny ibexa-icon-create"> |
14 | | - <use xlink:href="/bundles/ibexaicons/img/all-icons.svg#create"></use> |
| 13 | + <svg class="ibexa-icon ibexa-icon--small"> |
| 14 | + <use xlink:href="{{ asset('bundles/ibexaicons/img/all-icons.svg') }}#create"></use> |
15 | 15 | </svg> |
| 16 | + <span class="ibexa-btn__label">{{ "tab.modal.title"|trans }}</span> |
16 | 17 | </button> |
17 | 18 | <div class="modal fade ibexa-modal ibexa-modal--add-content-protection" id="ibexa-modal--add-content-protection" tabindex="-1" role="dialog"> |
18 | 19 | <div class="modal-dialog" role="document"> |
| 20 | + {{ form_start(form, {action: path("novaezprotectedcontent_bundle_admin_handle_form", {locationId: location.id })}) }} |
19 | 21 | <div class="modal-content"> |
20 | | - {{ form_start(form, {action: path("novaezprotectedcontent_bundle_admin_handle_form", {locationId: location.id })}) }} |
21 | 22 | <div class="modal-header"> |
22 | 23 | <h3 class="modal-title">{{ "tab.modal.title"|trans }}</h3> |
23 | | - <button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
| 24 | + <button type="button" class="close" data-dismiss="modal" data-bs-dismiss="modal" aria-label="Close"> |
24 | 25 | <svg class="ibexa-icon ibexa-icon--medium" aria-hidden="true"> |
25 | 26 | <use xlink:href="/bundles/ibexaicons/img/all-icons.svg#discard"></use> |
26 | 27 | </svg> |
|
32 | 33 | {{ form_row(form.enabled) }} |
33 | 34 | </div> |
34 | 35 | <div class="modal-footer"> |
35 | | - <button type="button" class="btn btn-secondary btn--no" data-dismiss="modal"> |
| 36 | + <button type="button" class="btn btn-secondary btn--no" data-dismiss="modal" data-bs-dismiss="modal"> |
36 | 37 | {{ "tab.modal.buttons.cancel"|trans }} |
37 | 38 | </button> |
38 | 39 | <button class="btn btn-danger font-weight-bold" type="submit"> |
39 | 40 | {{ "tab.modal.buttons.add"|trans }} |
40 | 41 | </button> |
41 | 42 | </div> |
42 | | - {{ form_end(form) }} |
43 | 43 | </div> |
| 44 | + {{ form_end(form) }} |
44 | 45 | </div> |
45 | 46 | </div> |
46 | 47 | </div> |
|
0 commit comments