Sha256: b4476ba8ff6703303aea1596d286809c24d0f1aaa1eedddb8a03bb1d64d42896

Contents?: true

Size: 772 Bytes

Versions: 9

Compression:

Stored size: 772 Bytes

Contents

  <div class="flex flex-1 flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24">
    <div class="mx-auto w-full max-w-sm lg:w-96">
      <div>
        <%= image_tag Tybo.configuration.logo_url, class: 'h-12 w-auto' %>
      </div>
      <div class="mt-4">
      <% @resources.each do |resource| %>
      <a href="<%=send("new_#{resource.to_s}_session_path")%>" class="mt-2 flex w-full justify-center rounded-md border border-transparent bg-tybo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-tybo-700 focus:outline-none focus:ring-2 focus:ring-tybo-500 focus:ring-offset-2">
        <%=I18n.t("bo.devise.sign_in_as.#{resource.to_s}")%>
      </a>
      <% end %>
      </div>
    </div>
  </div>
  <%= render(CoverComponent.new) %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tybo-0.0.20 app/views/login/home.html.erb
tybo-0.0.19 app/views/login/home.html.erb
tybo-0.0.18 app/views/login/home.html.erb
tybo-0.0.17 app/views/login/home.html.erb
tybo-0.0.16 app/views/login/home.html.erb
tybo-0.0.15 app/views/login/home.html.erb
tybo-0.0.14 app/views/login/home.html.erb
tybo-0.0.13 app/views/login/home.html.erb
tybo-0.0.12 app/views/login/home.html.erb