Sha256: 2c54e8df5d8896de859953e32c44d54159bb14d9b8c8f9a38f1ee9668574e41f
Contents?: true
Size: 694 Bytes
Versions: 64
Compression:
Stored size: 694 Bytes
Contents
<% phase ||= nil unless phase.in?(%w[alpha beta]) raise ArgumentError, "The phase banner component expects a `phase` (`beta` or `alpha`), #{phase.inspect} given" end %> <div class="gem-c-phase-banner"> <p> <strong class="phase-tag"><%= phase %></strong> <span> <% if local_assigns[:message] %> <%= local_assigns[:message] %> <% elsif phase == "beta" %> This part of GOV.UK is being rebuilt – <a href="/help/beta">find out what beta means</a> <% elsif phase == "alpha" %> This part of GOV.UK is being built – <a href="/service-manual/phases/ideal-alphas">find out what alpha means</a> <% end %> </span> </p> </div>
Version data entries
64 entries across 64 versions & 1 rubygems