@raketa-cloud/admin 0.0.83 → 0.0.84

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-cloud/admin",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "main": "src/index.js",
5
5
  "scripts": {
6
6
  "dev": "npx tailwindcss -i ./src/styles/application.css -o ../../apps/admin/static/application.css --watch",
@@ -1,8 +1,8 @@
1
1
  <% form_for({ redirect }, errors, (f) => { %>
2
2
  <form action="<%= redirect?.id ? `/${_context.locale}/redirects/${redirect.id}` : `/${_context.locale}/redirects` %>" method="post" class="form">
3
- <%- f.field('redirect.url', { label: 'URL', hint: "Provide an existing URL from this website. Won't work with subdomains." }) %>
4
- <%- f.field('redirect.destination', { placeholder: "/another-page, https://google.com" }) %>
5
- <%- f.field('redirect.httpResponseCode', { type: 'number', label: 'HTTP response code' }) %>
3
+ <%- f.field('redirect.url', { required: true, label: 'URL', hint: "Provide an existing URL from this website. Won't work with subdomains." }) %>
4
+ <%- f.field('redirect.destination', { required: true, placeholder: "/another-page, https://google.com" }) %>
5
+ <%- f.field('redirect.httpResponseCode', { required: true, type: 'number', label: 'HTTP response code' }) %>
6
6
  <%- f.field('redirect.note', { hint: 'Why is this redirect needed?' }) %>
7
7
 
8
8
  <div class="form-actions">
@@ -23,4 +23,4 @@
23
23
  <% } %>
24
24
  </div>
25
25
  </form>
26
- <% }) %>
26
+ <% }) %>