Sha256: fb4abaa86e93e852ac7eb88d5e8e4fcbccc6b4823613af441bbad8f0b79fa471
Contents?: true
Size: 1.41 KB
Versions: 3
Compression:
Stored size: 1.41 KB
Contents
<div data-hook="admin_recurring_form_fields"> <div data-hook="recurring"> <div class="alpha four columns"> <div id="preference-settings" data-hook class="field"> <%= label_tag nil, Spree.t(:provider) %> <%= select(:recurring, :type, Spree::Recurring.subclasses.collect {|pro| [pro.display_name, pro]}, {}, {disabled: !@recurring.new_record?, class: 'select2 fullwidth'}) %> <% unless @recurring.new_record? %> <%= preference_fields(@recurring, f) %> <% if @recurring.respond_to?(:preferences) %> <div id="gateway-settings-warning" class="info warning"><%= Spree.t(:provider_settings_warning) %></div> <% end %> <% end %> </div> <div data-hook="active" class="field"> <ul> <li> <%= label_tag :nil, Spree.t(:active) %> <%= check_box :recurring, :active %> </li> </ul> </div> </div> <div class="omega eight columns"> <div data-hook="name" class="field"> <%= label_tag nil, Spree.t(:name) %> <%= text_field :recurring, :name, :class => 'fullwidth' %> </div> <div data-hook="description" class="field"> <%= label_tag nil, Spree.t(:description) %> <%= text_area :recurring, :description, {:cols => 60, :rows => 6, :class => 'fullwidth'} %> </div> </div> </div> </div> <div class="clear"></div>
Version data entries
3 entries across 3 versions & 1 rubygems