Sha256: 5c4e0f8705e438de4829a440a28433ce5077ed8aa587a1fcefc339b547191109

Contents?: true

Size: 824 Bytes

Versions: 6

Compression:

Stored size: 824 Bytes

Contents

<%= form_for(@underlying) do |f| %>
  <% if @underlying.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@underlying.errors.count, "error") %> prohibited this underlying from being saved:</h2>

      <ul>
      <% @underlying.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :contract_id %><br />
    <%= f.number_field :contract_id %>
  </div>
  <div class="field">
    <%= f.label :con_id %><br />
    <%= f.number_field :con_id %>
  </div>
  <div class="field">
    <%= f.label :delta %><br />
    <%= f.text_field :delta %>
  </div>
  <div class="field">
    <%= f.label :price %><br />
    <%= f.text_field :price %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ib-ruby-0.9.2 app/views/ib/underlyings/_form.html.erb
ib-ruby-0.9.1 app/views/ib/underlyings/_form.html.erb
ib-ruby-0.9.0 app/views/ib/underlyings/_form.html.erb
ib-ruby-0.8.5 app/views/ib/underlyings/_form.html.erb
ib-ruby-0.8.4 app/views/ib/underlyings/_form.html.erb
ib-ruby-0.8.3 app/views/ib/underlyings/_form.html.erb