<%= Spree.t('admin.store.digital_settings.digital_asset_settings') %>
<%= f.field_container :digital_asset_authorized_clicks do %> <%= f.label :digital_asset_authorized_clicks, (raw Spree.t('admin.store.digital_settings.digital_asset_authorized_clicks.authorized_clicks') + required_span_tag) %> <%= f.text_field :digital_asset_authorized_clicks, class: 'form-control', required: true %> <%= f.error_message_on :digital_asset_authorized_clicks %> <% end %> <%= Spree.t('admin.store.digital_settings.digital_asset_authorized_clicks.info') %> <%= f.field_container :limit_digital_download_count, class: ['custom-control', 'custom-checkbox', 'my-4'] do %> <%= f.check_box :limit_digital_download_count, class: 'custom-control-input' %> <%= f.label :limit_digital_download_count, Spree.t('admin.store.digital_settings.limit_digital_download_count'), class: 'custom-control-label' %> <%= f.error_message_on :limit_digital_download_count %> <% end %>
<%= f.field_container :digital_asset_authorized_days do %> <%= f.label :digital_asset_authorized_days, (raw Spree.t('admin.store.digital_settings.digital_asset_authorized_days.authorized_days') + required_span_tag) %> <%= f.text_field :digital_asset_authorized_days, class: 'form-control', required: true %> <%= f.error_message_on :digital_asset_authorized_days %> <% end %> <%= Spree.t('admin.store.digital_settings.digital_asset_authorized_days.info') %> <%= f.field_container :limit_digital_download_days, class: ['custom-control', 'custom-checkbox', 'my-4'] do %> <%= f.check_box :limit_digital_download_days, class: 'custom-control-input' %> <%= f.label :limit_digital_download_days, Spree.t('admin.store.digital_settings.limit_digital_download_days'), class: 'custom-control-label' %> <%= f.error_message_on :limit_digital_download_days %> <% end %>
<%= f.field_container :digital_asset_link_expire_time do %> <%= f.label :digital_asset_link_expire_time, (raw Spree.t('admin.store.digital_settings.digital_asset_link_expire_time.download_link_expire_time') + required_span_tag) %> <%= f.text_field :digital_asset_link_expire_time, class: 'form-control', required: true %> <%= f.error_message_on :digital_asset_link_expire_time %> <% end %> <%= Spree.t('admin.store.digital_settings.digital_asset_link_expire_time.link_expire_time') %>