<%= render "showcase/previews/field_partials/about_field_partials", showcase: showcase do |form| %> <% showcase.sample "Basic" do %> <%= render 'shared/fields/text_field', form: form, method: :text_field_value %> <% end %> <% showcase.sample "With Icon" do %> <%= render 'shared/fields/text_field', form: form, icon: 'Test', method: :text_field_value, other_options: { label: 'New Label', hide_label: true, help: 'I am help text', error: "Error Text", icon: 'fal fa-sign-out ti ti-close' } %> <% end %> <% end %>