spree/spree_social

View on GitHub
app/views/spree/admin/authentication_methods/new.html.erb

Summary

Maintainability
Test Coverage
<% content_for :page_title do %>
  <%= Spree.t(:new_social_method) %>
<% end %>

<%= render partial: 'spree/admin/shared/error_messages',
  locals: { target: @authentication_method } %>

<% content_for :page_actions do %>
  <%= button_link_to Spree.t(:back_to_authentication_methods_list),
    admin_authentication_methods_path,
    icon: 'arrow-left',
    class: 'btn-primary' %>
<% end %>

<%= render 'form', resource: @authentication_method %>