Sha256: 5c0b85d82d0ef7488688ae84a1ac4014d450184b60db813381379403e5dc467d
Contents?: true
Size: 1.14 KB
Versions: 9
Compression:
Stored size: 1.14 KB
Contents
<%= form_for @payment_method, :html => {:class => 'form-horizontal'} do |f| %> <fieldset> <%= f.hidden_field :account_id %> <div class="control-group"> <%= f.label :external_key, 'External key *', :class => 'control-label' %> <div class="controls"> <%= f.text_field :external_key, :class => 'input-small', :required => true %> </div> </div> <div class="control-group"> <%= f.label :plugin_name, 'Plugin name *', :class => 'control-label' %> <div class="controls"> <%= f.text_field :plugin_name, :class => 'input-small', :required => true %> </div> </div> <div id="creditcard"> <%= render :partial => 'new_creditcard_payment_method' %> </div> <div class="control-group"> <%= f.label :is_default, 'Default payment method?', :class => 'control-label' %> <div class="controls"> <%= f.check_box :is_default, :class => 'input-small' %> </div> </div> <div class="form-actions"> <%= button_tag 'Create payment method', :class => 'btn btn-primary' %> </div> </fieldset> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems