waibu-blu 1.1.11 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,7 @@
1
1
  <c:wdb-form id="main-form" method="POST" enctype="multipart/form-data">
2
+ <% if (schema.view.attachment) { %>
3
+ <!-- include waibuDb.partial:/crud/_add-attachment.html -->
4
+ <% } %>
2
5
  <c:card>
3
6
  <c:card-body>
4
7
  <!-- include waibuDb.partial:/crud/_add-btns.html -->
@@ -1,4 +1,8 @@
1
- <c:wdb-form tag="div" id="main-form" />
1
+ <c:wdb-form tag="div" id="main-form">
2
+ <% if (schema.view.attachment) { %>
3
+ <!-- include waibuDb.partial:/crud/_details-attachment.html -->
4
+ <% } %>
5
+ </c:wdb-form>
2
6
  <c:card>
3
7
  <c:card-body>
4
8
  <!-- include waibuDb.partial:/crud/_details-btns.html -->
@@ -1,4 +1,7 @@
1
1
  <c:wdb-form id="main-form" method="POST" enctype="multipart/form-data">
2
+ <% if (schema.view.attachment) { %>
3
+ <!-- include waibuDb.partial:/crud/_edit-attachment.html -->
4
+ <% } %>
2
5
  <c:card>
3
6
  <c:card-body>
4
7
  <!-- include waibuDb.partial:/crud/_edit-btns.html -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-blu",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Blu theme for Waibu Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {