Sha256: a589bb506a2eb4e23a7bddef973b2c17250a2081816ca78085a4b52b259f614a

Contents?: true

Size: 590 Bytes

Versions: 23

Compression:

Stored size: 590 Bytes

Contents

<%#
# Password Form Partial

This partial renders an input element for a password attribute.
By default, the input is a password field.

## Local variables:

- `f`:
  A Rails form generator, used to help create the appropriate input fields.
- `field`:
  An instance of [Administrate::Field::Password][1].
  A wrapper around the Password.

[1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Password
%>

<div class="field-unit__label">
  <%= f.label field.attribute %>
</div>
<div class="field-unit__field">
  <%= f.password_field field.attribute, value: field.data %>
</div>

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
administrate-1.0.0.beta3 app/views/fields/password/_form.html.erb
administrate-1.0.0.beta2 app/views/fields/password/_form.html.erb
administrate-1.0.0.beta1 app/views/fields/password/_form.html.erb
administrate-0.20.1 app/views/fields/password/_form.html.erb
administrate-0.20.0 app/views/fields/password/_form.html.erb
administrate-0.19.0 app/views/fields/password/_form.html.erb
administrate-0.18.0 app/views/fields/password/_form.html.erb
administrate-0.17.0 app/views/fields/password/_form.html.erb
administrate-0.16.0 app/views/fields/password/_form.html.erb
administrate-0.15.0 app/views/fields/password/_form.html.erb
administrate-0.14.0 app/views/fields/password/_form.html.erb
viniBaxterDesk-22.0.0 app/views/fields/password/_form.html.erb
viniBaxterDesk-0.21.0 app/views/fields/password/_form.html.erb
viniBaxterDesk-0.20.0 app/views/fields/password/_form.html.erb
viniBaxterDesk-0.14.0 app/views/fields/password/_form.html.erb
viniBaxterDesk-0.13.2 app/views/fields/password/_form.html.erb
viniBaxterDesk-0.13.1 app/views/fields/password/_form.html.erb
administrate-0.13.0 app/views/fields/password/_form.html.erb
administrate-0.12.0 app/views/fields/password/_form.html.erb
administrate-0.11.0 app/views/fields/password/_form.html.erb