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
<div class=""> <div class="Polaris-Labelled__LabelWrapper"> <div class="Polaris-Label"> <label class="Polaris-Label__Text" for="store_name">Store name</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 type="text" name="store_name" id="store_name" data-paper-text-field-target="input" data-action="paper-text-field#syncValue" class="Polaris-TextField__Input" /> <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> Store name required </div> </div></div>
1
2
3
4
5
<%= paper_text_field( name: :store_name, label: "Store name", error: "Store name required",) %>
No notes provided.
No params configured.