Sha256: 7dcc40b9d47429b1aa3975f8fcbd340b74f99e2ef6ad75b0b2c24c9e7f020e91

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

<div id="oauth-applications">
  <a class="btn btn-outline-primary" href="/oauth-applications/new">#{rodauth.new_oauth_application_page_title}</a>
  #{
    if @oauth_applications.count.zero?
      "<p>No oauth applications yet!</p>"
    else
      "<ul class=\"list-group\">" +
        @oauth_applications.map do |application|
          "<li class=\"list-group-item\"><a href=\"/oauth-applications/#{application[:id]}\">#{application[:name]}</a></li>"
        end.join +
      "</ul>"
    end
  }
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rodauth-oauth-0.8.0 templates/oauth_applications.str