Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<form action="/products" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="5ELWf3RYPPmTaiu3jeLS9VWS0WF5z_-Vs1pvt3pTA803oBv7AO3X_Pv6rZr_uBnBq6TzRaCq87Xn4dnwvDHaPg" autocomplete="off" />
<div class="Polaris-Layout">
<div class="Polaris-Layout__Section">
<div tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--statusCritical Polaris-Banner--withinContentContainer">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-inline-end-xs: var(--p-space-4)" class="Polaris-Box">
<span class="Polaris-Icon Polaris-Icon--colorCritical Polaris-Icon--applyColor">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M11.768.768a2.5 2.5 0 0 0-3.536 0l-7.464 7.464a2.5 2.5 0 0 0 0 3.536l7.464 7.464a2.5 2.5 0 0 0 3.536 0l7.464-7.464a2.5 2.5 0 0 0 0-3.536l-7.464-7.464zm-2.768 5.232a1 1 0 1 1 2 0v4a1 1 0 1 1-2 0v-4zm2 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path></svg>
</span>
</div>
<div class="Polaris-Banner__ContentWrapper">
<h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold Polaris-Text--break">
There is 1 error with this product:
</h2>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-05);--pc-box-padding-block-start-xs: var(--p-space-05)" class="Polaris-Box">
<ul class="Polaris-List Polaris-List--spacingLoose">
<li class="Polaris-List__Item">Title can't be blank</li>
</ul>
</div>
</div>
</div>
</div>
<div class="Polaris-Layout__Section">
<div tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--statusCritical Polaris-Banner--withinContentContainer">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-inline-end-xs: var(--p-space-4)" class="Polaris-Box">
<span class="Polaris-Icon Polaris-Icon--colorCritical Polaris-Icon--applyColor">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M11.768.768a2.5 2.5 0 0 0-3.536 0l-7.464 7.464a2.5 2.5 0 0 0 0 3.536l7.464 7.464a2.5 2.5 0 0 0 3.536 0l7.464-7.464a2.5 2.5 0 0 0 0-3.536l-7.464-7.464zm-2.768 5.232a1 1 0 1 1 2 0v4a1 1 0 1 1-2 0v-4zm2 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path></svg>
</span>
</div>
<div class="Polaris-Banner__ContentWrapper">
<h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold Polaris-Text--break">
There is 1 error with this product:
</h2>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-05);--pc-box-padding-block-start-xs: var(--p-space-05)" class="Polaris-Box">
<ul class="Polaris-List Polaris-List--spacingLoose">
<li class="Polaris-List__Item">Title can't be blank</li>
</ul>
with custom content
</div>
</div>
</div>
</div>
<div class="Polaris-Layout__Section">
<div class="">
<div class="Polaris-Labelled__LabelWrapper">
<div class="Polaris-Label">
<label class="Polaris-Label__Text" for="product_title">Title</label>
</div>
</div>
<div class="Polaris-Connected">
<div class="Polaris-Connected__Item Polaris-Connected__Item--primary">
<div data-paper-text-field-has-value-class="Polaris-TextField--hasValue" data-paper-text-field-clear-button-hidden-class="Polaris-TextField__Hidden" data-controller="paper-text-field" class="Polaris-TextField Polaris-TextField--error">
<input data-paper-text-field-target="input" data-action="paper-text-field#syncValue" class="Polaris-TextField__Input" type="text" name="product[title]" id="product_title" />
<div class="Polaris-TextField__Backdrop"></div>
</div>
</div>
</div>
<div class="Polaris-Labelled__Error">
<div class="Polaris-InlineError">
<div class="Polaris-InlineError__Icon">
<span class="Polaris-Icon">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M11.42 2.588a2.007 2.007 0 0 0-2.84 0l-5.992 5.993a2.007 2.007 0 0 0 0 2.838l5.993 5.993a2.007 2.007 0 0 0 2.838 0l5.993-5.993a2.007 2.007 0 0 0 0-2.838l-5.993-5.993Zm-2.223 4.2a.803.803 0 1 1 1.606 0v3.212a.803.803 0 1 1-1.606 0v-3.211Zm1.606 6.423a.803.803 0 1 1-1.606 0 .803.803 0 0 1 1.606 0Z"></path></svg>
</span>
</div>
Title can't be blank
</div>
</div>
</div>
</div>
</div>
</form>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<%= form_with(model: product, builder: Paper::FormBuilder) do |form| %>
<%= paper_layout do |layout| %>
<%= layout.with_section do %>
<%= form.errors_summary %>
<% end %>
<%= layout.with_section do %>
<%= form.errors_summary do %>
with custom content
<% end %>
<% end %>
<%= layout.with_section do %>
<%= form.paper_text_field(:title) %>
<% end %>
<% end %>
<% end %>