Sha256: 32651d40579662c487e6c8662d1042cd5646a16ddd75f0e99e1099015d0826a9

Contents?: true

Size: 1.38 KB

Versions: 33

Compression:

Stored size: 1.38 KB

Contents

<div class="rounded-md bg-red-alert text-white p-4 my-3" data-controller="flash">
  <div class="flex">
    <div class="flex-shrink-0">
      <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
        <path fill-rule="evenodd" d="M8.485 3.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 3.495zM10 6a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 6zm0 9a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"/>
      </svg>
    </div>
    <div class="ml-3">
      <p class="text-sm font-medium"><%= errors %></p>
    </div>
    <div class="ml-auto pl-3">
      <div class="-mx-1.5 -my-1.5">
        <button type="button" data-action="flash#dismiss" class="inline-flex bg-red-50 rounded-md p-1.5 text-red-alert hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-red-50 focus:ring-red-600">
          <span class="sr-only">Dismiss</span>
          <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
            <path d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"/>
          </svg>
        </button>
      </div>
    </div>
  </div>
</div>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
tybo-0.3.7 app/views/layouts/_errors.html.erb
tybo-0.3.6 app/views/layouts/_errors.html.erb
tybo-0.3.4 app/views/layouts/_errors.html.erb
tybo-0.3.3 app/views/layouts/_errors.html.erb
tybo-0.3.1 app/views/layouts/_errors.html.erb
tybo-0.2.6 app/views/layouts/_errors.html.erb
tybo-0.2.5 app/views/layouts/_errors.html.erb
tybo-0.2.4 app/views/layouts/_errors.html.erb
tybo-0.2.3 app/views/layouts/_errors.html.erb
tybo-0.2.2 app/views/layouts/_errors.html.erb
tybo-0.2.0 app/views/layouts/_errors.html.erb
tybo-0.1.2 app/views/layouts/_errors.html.erb
tybo-0.1.0 app/views/layouts/_errors.html.erb