Sha256: cf81e05551e46606d91b197b51d969144360a1d0af2bf314472bb4c6682f72e5

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

<form data-link-form-type="product">
  <%= render_message do %>
    <h3><%= Alchemy.t(:choose_product_to_link) %></h3>
  <% end %>
  <div class="input select">
    <label for="product_link" class="control-label">
      <%= Spree::Product.model_name.human %>
    </label>
    <input type="text" id="product_link" class="alchemy_selectbox full_width">
  </div>
  <div class="input text">
    <label for="product_link_title" class="control-label">
      <%= Alchemy.t(:link_title) %>
    </label>
    <%= text_field_tag "product_link_title", '', class: 'link_title' %>
  </div>
  <div class="input select">
    <label for="product_link_target" class="control-label">
      <%= Alchemy.t("Open Link in") %>
    </label>
    <%= select_tag 'product_link_target',
      options_for_select(Alchemy::Page.link_target_options),
      class: 'alchemy_selectbox link_target' %>
  </div>
  <div class="submit">
    <%= button_tag Alchemy.t(:apply), class: "create-link button", data: { link_type: "product" } %>
  </div>
</form>

<%= render "product_link_script" %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alchemy-solidus-7.1.0 app/views/alchemy/admin/pages/_product_link.html.erb
alchemy-solidus-7.0.1 app/views/alchemy/admin/pages/_product_link.html.erb
alchemy-solidus-7.0.0 app/views/alchemy/admin/pages/_product_link.html.erb
alchemy-solidus-6.3.2 app/views/alchemy/admin/pages/_product_link.html.erb