Sha256: 84ed1dae19b25f89b37b3e7fcd8c80a4c3a9733652f1d3fb2a5672363b19bc93

Contents?: true

Size: 706 Bytes

Versions: 8

Compression:

Stored size: 706 Bytes

Contents

<%= simple_form_for([:backend, user], html: { autocomplete: "false" }) do |f| %>
  <%= f.error_notification %>

  <div class="form-inputs">
    <%= f.input :name %>
    <%= f.input :username %>
    <%= f.input :email, as: :email %>

    <div class="form-group user_avatar_image">
      <div class="col-sm-10 col-sm-offset-2">
        <%= image_tag(f.object.avatar.small.url, alt: "") %>
      </div>
    </div>

    <%= f.input :avatar_cache, as: :hidden %>
    <%= f.input(:remove_avatar, as: :boolean, checked_value: true, unchecked_value: false) if f.object.avatar? %>

    <%= f.input :role, as: :role %>
  </div>

  <div class="form-actions text-right">
    <%= f.button :submit %>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 app/views/archangel/backend/users/_form.html.erb
archangel-0.0.8 app/views/archangel/backend/users/_form.html.erb
archangel-0.0.7 app/views/archangel/backend/users/_form.html.erb
archangel-0.0.6 app/views/archangel/backend/users/_form.html.erb
archangel-0.0.5 app/views/archangel/backend/users/_form.html.erb
archangel-0.0.4 app/views/archangel/backend/users/_form.html.erb
archangel-0.0.3 app/views/archangel/backend/users/_form.html.erb
archangel-0.0.2 app/views/archangel/backend/users/_form.html.erb