Sha256: d575c7c4d8b7f335e01dff9994e46310e3f775f7b071c34228f4cf19e794c875
Contents?: true
Size: 314 Bytes
Versions: 24
Compression:
Stored size: 314 Bytes
Contents
<% addon = field_setting(model, field, :addon) || "R$" %> <% klass = field_setting(model, field, :class) %> <div class="input-prepend"> <span class="add-on"><%= addon %></span> <%= form.text_field field, :class => "price_format #{klass}", :value => my_admin_number_to_currency_edit(object.send(field)) %> </div>
Version data entries
24 entries across 24 versions & 1 rubygems