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

Version Path
my_admin-0.1.13 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.12 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.11 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.10 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.9 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.8 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.7 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.6 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.5 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.4 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.3 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.2 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.1.1 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.0.12 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.0.11 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.0.10 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.0.9 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.0.8 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.0.7 app/views/my_admin/fields/edit/type/money.html.erb
my_admin-0.0.6 app/views/my_admin/fields/edit/type/money.html.erb