RailsCasts Pro episodes are now free!

Learn more or hide this

net1957's Profile

GitHub User: net1957

Comments by

Avatar

I did try to add one other tooltip to the price field
But it's not working. The first tooltip is displayed on the 2 labels !

ruby
    <div class="row collapse">
      <div class="small-3 columns">
        <%= f.label :name, class: "right inline", title: "Name of product", data: {tooltip: true } %>
      </div>
      <div class="small-9 columns">
        <%= f.text_field :name %>
      </div>
    </div>

    <div class="row collapse">
      <div class="small-3 columns">
        <%= f.label :price, class: "right inline", title: "Price in USD", data: {tooltip: true } %>
      </div>
      <div class="small-9 columns">
        <%= f.text_field :price %>
      </div>
    </div>

Any idea ?