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
<div class="polaris-text-field-wrapper"> <div class="Polaris-Labelled__LabelWrapper"> <div class="Polaris-Label"> <label class="Polaris-Label__Text" for="tariff_code">Tariff code</label> </div> <div class="Polaris-Labelled__Action"> <a href="#" data-controller="polaris-button" class="Polaris-Button Polaris-Button--plain"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Look up codes </div> </span> </a> </div> </div> <div class="Polaris-Connected"> <div class="Polaris-Connected__Item Polaris-Connected__Item--primary"> <div data-polaris-text-field-has-value-class="Polaris-TextField--hasValue" data-polaris-text-field-clear-button-hidden-class="Polaris-TextField__Hidden" data-controller="polaris-text-field" class="Polaris-TextField Polaris-TextField--hasValue"> <input type="text" name="tariff_code" id="tariff_code" value="6201.11.0000" data-polaris-text-field-target="input" data-action="polaris-text-field#syncValue" class="Polaris-TextField__Input" /> <div class="Polaris-TextField__Backdrop"></div> </div> </div> </div></div>
1
2
3
4
5
6
<%= polaris_text_field( name: :tariff_code, value: "6201.11.0000", label: "Tariff code", label_action: { url: "#", content: "Look up codes" },) %>
No notes provided.
No params configured.