Skip to content

Commit

Permalink
Moved overwritten code back to the gem
Browse files Browse the repository at this point in the history
  • Loading branch information
13miciunasl committed Jan 12, 2017
1 parent f2e9a08 commit b04a7d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<div class="authenticated-connection">
<%= t('orcid.views.authenticated_connection', orcid_profile_url: Orcid.url_for_orcid_id(authenticated_connection.orcid_profile_id), orcid_profile_id: authenticated_connection.orcid_profile_id).html_safe %>
<%= render partial: 'orcid/profile_connections/orcid_disconnector' %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
<p>
<%= link_to t('orcid/profile_connection.look_up_your_existing_orcid', scope: 'helpers.label'), orcid.new_profile_connection_path(profile_connection:{text: default_search_text}) %>
</p>
<p>
<%= link_to t('orcid/profile_connection.create_an_orcid', scope: 'helpers.label'), orcid.new_profile_request_path %>
</p>
<p>
<%= form_for(profile_connection, as: :profile_connection, url: orcid.profile_connections_path, method: :post) do |f| %>
<%# Note the `scope: 'helpers.label'` option is the default for the label, but I want to call those specifically out %>
<%= f.label :orcid_profile_id, t('orcid/profile_connection.orcid_profile_id', scope: 'helpers.label') %>
Expand All @@ -17,4 +13,5 @@
</button>
<% end %>
</p>
<%= render partial: 'orcid/create_profile' %>
</div>

0 comments on commit b04a7d6

Please sign in to comment.