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