[Notice] Announcing the End of Demo Server [Read me]
title: Disable title input box autocompletion
@c00d74d2e3437e0a3b09f75d7f77e51f6a19d1f0
--- app/views/board/create.scala.html
+++ app/views/board/create.scala.html
... | ... | @@ -1,7 +1,7 @@ |
1 | 1 |
@** |
2 | 2 |
* Yona, 21st Century Project Hosting SW |
3 | 3 |
* |
4 |
-* Copyright Yona & Yobi Authors & NAVER Corp. |
|
4 |
+* Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp. |
|
5 | 5 |
* https://yona.io |
6 | 6 |
**@ |
7 | 7 |
@import play.data.Form |
... | ... | @@ -51,7 +51,7 @@ |
51 | 51 |
<dl> |
52 | 52 |
<dd> |
53 | 53 |
@defining(form.errors().get("title")) { errors => |
54 |
- <input type="text" id="title" name="title" class="zen-mode text title @if(errors != null) {error}" maxlength="250" tabindex="1" value="@titleMessage" placeholder="@if(path.equals(None)){@Messages("title")}else{@Messages("code.commitMsg")}"/> |
|
54 |
+ <input type="text" id="title" autocomplete="off" name="title" class="zen-mode text title @if(errors != null) {error}" maxlength="250" tabindex="1" value="@titleMessage" placeholder="@if(path.equals(None)){@Messages("title")}else{@Messages("code.commitMsg")}"/> |
|
55 | 55 |
@if(errors != null) { |
56 | 56 |
<div class="message"> |
57 | 57 |
@for(error <- errors) { |
--- app/views/board/edit.scala.html
+++ app/views/board/edit.scala.html
... | ... | @@ -1,24 +1,11 @@ |
1 | 1 |
@** |
2 |
-* Yobi, Project Hosting SW |
|
2 |
+* Yona, 21st Century Project Hosting SW |
|
3 | 3 |
* |
4 |
-* Copyright 2012 NAVER Corp. |
|
5 |
-* http://yobi.io |
|
6 |
-* |
|
7 |
-* @author Ahn Hyeok Jun |
|
8 |
-* |
|
9 |
-* Licensed under the Apache License, Version 2.0 (the "License"); |
|
10 |
-* you may not use this file except in compliance with the License. |
|
11 |
-* You may obtain a copy of the License at |
|
12 |
-* |
|
13 |
-* http://www.apache.org/licenses/LICENSE-2.0 |
|
14 |
-* |
|
15 |
-* Unless required by applicable law or agreed to in writing, software |
|
16 |
-* distributed under the License is distributed on an "AS IS" BASIS, |
|
17 |
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
18 |
-* See the License for the specific language governing permissions and |
|
19 |
-* limitations under the License. |
|
4 |
+* Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp. |
|
5 |
+* https://yona.io |
|
20 | 6 |
**@ |
21 |
-@(title:String, form: play.data.Form[Posting], posting:Posting, number:Long, project:Project, isAllowedToNotice:Boolean) |
|
7 |
+@import play.data |
|
8 |
+@(title:String, form: data.Form[Posting], posting:Posting, number:Long, project:Project, isAllowedToNotice:Boolean) |
|
22 | 9 |
|
23 | 10 |
@import utils.AccessControl._ |
24 | 11 |
@import utils.TemplateHelper._ |
... | ... | @@ -38,7 +25,7 @@ |
38 | 25 |
</dt> |
39 | 26 |
<dd> |
40 | 27 |
@defining(form.errors().get("title")) { errors => |
41 |
- <input type="text" id="title" name="title" value="@posting.title" class="zen-mode text title @if(errors != null) {error}" maxlength="250" tabindex="1" /> |
|
28 |
+ <input type="text" id="title" name="title" value="@posting.title" class="zen-mode text title @if(errors != null) {error}" maxlength="250" tabindex="1" autocomplete="off"/> |
|
42 | 29 |
@if(errors != null) { |
43 | 30 |
<div class="message"> |
44 | 31 |
@for(error <- errors) { |
--- app/views/issue/create.scala.html
+++ app/views/issue/create.scala.html
... | ... | @@ -1,7 +1,7 @@ |
1 | 1 |
@** |
2 | 2 |
* Yona, 21st Century Project Hosting SW |
3 | 3 |
* |
4 |
-* Copyright Yona & Yobi Authors & NAVER Corp. |
|
4 |
+* Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp. |
|
5 | 5 |
* https://yona.io |
6 | 6 |
**@ |
7 | 7 |
@import play.data.Form |
... | ... | @@ -37,7 +37,7 @@ |
37 | 37 |
@defining(issueForm.errors().get("title")) { errors => |
38 | 38 |
<div class="span12"> |
39 | 39 |
<div class="span11"> |
40 |
- <input type="text" id="title" name="title" value="" class="text title @if(errors != null) {error}" maxlength="250" tabindex="1" placeholder="@Messages("title")"> |
|
40 |
+ <input type="text" id="title" name="title" value="" class="text title @if(errors != null) {error}" maxlength="250" tabindex="1" placeholder="@Messages("title")" autocomplete="off"> |
|
41 | 41 |
</div> |
42 | 42 |
<div class="span1 subtask-message">@Messages("issue.option")</div> |
43 | 43 |
</div> |
--- app/views/issue/edit.scala.html
+++ app/views/issue/edit.scala.html
... | ... | @@ -1,7 +1,7 @@ |
1 | 1 |
@** |
2 | 2 |
* Yona, 21st Century Project Hosting SW |
3 | 3 |
* |
4 |
-* Copyright Yona & Yobi Authors & NAVER Corp. |
|
4 |
+* Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp. |
|
5 | 5 |
* https://yona.io |
6 | 6 |
**@ |
7 | 7 |
@import play.data.Form |
... | ... | @@ -40,7 +40,7 @@ |
40 | 40 |
@defining(issueForm.errors().get("title")) { errors => |
41 | 41 |
<div class="span12"> |
42 | 42 |
<div class="span11"> |
43 |
- <input type="text" id="title" name="title" value="@issue.title" class="text title @if(errors != null) {error}" maxlength="250" tabindex="1" placeholder="@Messages("title")"> |
|
43 |
+ <input type="text" id="title" name="title" value="@issue.title" class="text title @if(errors != null) {error}" maxlength="250" tabindex="1" placeholder="@Messages("title")" autocomplete="off"> |
|
44 | 44 |
</div> |
45 | 45 |
<div class="span1 subtask-message">@Messages("issue.option")</div> |
46 | 46 |
</div> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?