Sha256: 8a3f7104a0ae3dc968cdd7d92b4d215b598b2ef28ff5398b1a6c362eadf729f5

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

<%
  link_attributes = {
    class: class_names("govuk-link", local_assigns[:classes]),
    href: local_assigns[:href]
  }.merge!(local_assigns[:attributes] || {})
%>
<%= tag.a(**link_attributes) do %>
  <%= local_assigns[:html].presence || local_assigns[:text] %>
  <% if local_assigns[:visuallyHiddenText].present? %>
    <span class="govuk-visually-hidden"> <%= local_assigns[:visuallyHiddenText] %></span>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
govuk-design-system-rails-0.10.3 app/views/components/_govuk_action_link.html.erb
govuk-design-system-rails-0.10.2 app/views/components/_govuk_action_link.html.erb