Mercurial > kallithea
changeset 6401:785a9770e8e0
templates: textarea doesn't have a size attribute - drop it!
We could use the rows attribute ... but so far it has worked without ...
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 06 Jan 2017 01:43:50 +0100 |
parents | 437545429441 |
children | 0bc464a5528a |
files | kallithea/templates/files/files_add.html kallithea/templates/pullrequests/pullrequest.html kallithea/templates/pullrequests/pullrequest_show.html |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/files/files_add.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/files/files_add.html Fri Jan 06 01:43:50 2017 +0100 @@ -40,7 +40,7 @@ ${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cs.raw_id,c.f_path)} / <span id="filename_container" class="file reviewer_ac"> <input class="form-control input-small" type="text" value="" size="30" name="filename" id="filename" placeholder="${_('Enter filename...')}"> - <input type="hidden" value="${c.f_path}" size="30" name="location" id="location"> + <input type="hidden" value="${c.f_path}" name="location" id="location"> ${_('or')} <div class="btn btn-default btn-sm" id="upload_file_enable">${_('Upload File')}</div> </span> <span id="upload_file_container" class="reviewer_ac" style="display:none">
--- a/kallithea/templates/pullrequests/pullrequest.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/pullrequests/pullrequest.html Fri Jan 06 01:43:50 2017 +0100 @@ -36,7 +36,7 @@ <div class="form-group"> <label class="control-label" for="pullrequest_desc">${_('Description')}:</label> <div> - ${h.textarea('pullrequest_desc',class_='form-control',size=30,placeholder=_('Write a short description on this pull request'))} + ${h.textarea('pullrequest_desc',class_='form-control',placeholder=_('Write a short description on this pull request'))} </div> </div>
--- a/kallithea/templates/pullrequests/pullrequest_show.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/pullrequests/pullrequest_show.html Fri Jan 06 01:43:50 2017 +0100 @@ -56,7 +56,7 @@ <div class="pr-do-edit form-group" style="display:none"> <label for="pullrequest_desc">${_('Description')}:</label> <div> - ${h.textarea('pullrequest_desc',size=30,content=c.pull_request.description,placeholder=_('Write a short description on this pull request'),class_='form-control')} + ${h.textarea('pullrequest_desc',content=c.pull_request.description,placeholder=_('Write a short description on this pull request'),class_='form-control')} </div> </div> %endif