Sha256: 3b551f182d720464344d28372de07163b66451651baebe56bda07c75f75f4243
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
<%= render partial: 'spree/admin/users/sidebar', locals: { current: :verification } %> <% content_for :page_actions do %> <% unless @user.try(:status_verified?) %> <%= button_link_to Spree.t(:verify), spree.verify_admin_user_path(@user), class: "btn-success", method: :post %> <%= button_link_to Spree.t(:reject), spree.reject_admin_user_path(@user), class: "btn btn-danger", method: :post %> <% end %> <% end %> <% content_for :page_title do %> <%= link_to @user.email, spree.edit_admin_user_url(@user) %> / <%= Spree.t(:"admin.user.verification") %> <% end %> <div> <div class="form-group"> <p> <% if @user.status_verified? %> <span class="badge badge-success"><%= @user.status %></span> <% end %> <% if @user.status_rejected? %> <span class="badge badge-danger"><%= @user.status %></span> <% end %> <% if @user.status_pending? %> <span class="badge badge-warning"><%= @user.status %></span> <% end %> </p> <% if @user.id_verification_image.present? %> <%= image_tag @user.id_verification_image.get_image_url, class: "img-fluid" %> <% else %> No image <% end %> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_id_verification-0.0.1.alpha | app/views/spree/admin/users/verification.html.erb |