% from app.data.filter import get_query_param
% content = setdefault("content", "") or ""
% disabled = (setdefault("disabled", False) or "") and 'disabled="true"'
<form id="paste" method="{{ method }}" action="{{ action }}">
  <style>
  select::-webkit-scrollbar {
  width: 11px;
}
textarea {
  color: #cccccc;
  background-color: #080808;
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
textarea::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
textarea::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG) ;
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}
  </style>
  <textarea
    style="width: 80%"
    id="paste-text-area"
    name="paste"
    rows="30"
    {{!disabled}}
    required="true"
    autofocus="true"
  >{{ content }}</textarea>
</form>
<form id="new" method="get" action="{{ action }}">
</form>