Sha256: 44b7de9370abe24f297364a12c7690f7b2087f4f4e571e4b2ba04d70985022f3
Contents?: true
Size: 1.1 KB
Versions: 9
Compression:
Stored size: 1.1 KB
Contents
<fieldset data-hook="admin_user_api_key" class="omega six columns"> <legend><%= t('access', :scope => 'spree.api') %></legend> <% if @user.spree_api_key.present? %> <div class="field"> <%= label_tag t('key', :scope => 'spree.api') %>: <%= @user.spree_api_key %> </div> <div class="filter-actions actions"> <%= form_tag spree.clear_api_key_admin_user_path(@user), :method => :put do %> <%= button t('clear_key', :scope => 'spree.api'), 'icon-trash' %> <% end %> <span class="or"><%= t(:or)%></span> <%= form_tag spree.generate_api_key_admin_user_path(@user), :method => :put do %> <%= button t('regenerate_key', :scope => 'spree.api'), 'icon-refresh' %> <% end %> </div> <% else %> <div class="no-objects-found"><%= t('no_key', :scope => 'spree.api') %></div> <div class="filter-actions actions"> <%= form_tag spree.generate_api_key_admin_user_path(@user), :method => :put do %> <%= button t('generate_key', :scope => 'spree.api'), 'icon-key' %> <% end %> </div> <% end %> </fieldset>
Version data entries
9 entries across 9 versions & 2 rubygems