Sha256: 0947dec270864c99ea5ecf05e724d8a855885809a85ecfeb4cdf9af5c9c899d4
Contents?: true
Size: 998 Bytes
Versions: 7
Compression:
Stored size: 998 Bytes
Contents
<%= simple_form_for([:backend, profile], as: :profile, url: :backend_profile, html: { autocomplete: "false" }) do |f| %> <%= f.error_notification %> <div class="form-inputs"> <%= f.input :name %> <%= f.input :username %> <%= f.input :email, as: :email %> <%= f.input :avatar, as: :file %> <%= f.input :avatar_cache, as: :hidden %> <div class="form-group profile_avatar_image"> <div class="col-sm-10 col-sm-offset-2"> <%= image_tag(f.object.avatar.small.url, alt: "") %> </div> </div> <%= f.input :remove_avatar, as: :boolean, checked_value: true, unchecked_value: false if f.object.avatar? %> <%= f.input :password, as: :password %> <%= f.input :password_confirmation, as: :password %> </div> <div class="form-actions text-right"> <%= f.button :submit %> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems