{extends "focus/focus.base.tpl"}

{block "focus-title"}
    {t}Přejmenovat{/t}
{/block}

{block "focus-content"}
   <form method="post"
         action="{path("kupshop_shoppinglist_shoppinglist_renameshoppinglist", ['listId' => $body.listId, 'from' => $from|default: 'detail'])}">
      <div class="form-group">
         <label for="list-name">{t}Nový název nákupního seznamu{/t}</label>
         <input id="list-name" name="name" value="{$body.listName}" class="form-control" data-copy="val">
      </div>
      <div class="shopping-list-buttons">
         <button data-listid="{$listId}" class="btn btn-primary" data-focus="close">{t}Zrušit{/t}</button>
         <input type="submit" class="btn btn-ctr" value="{t}Přejmenovat{/t}"/>
      </div>
   </form>
{/block}
