mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-31 04:09:33 +02:00
adding placeholders for access preset.
This commit is contained in:
@@ -16,6 +16,7 @@ en:
|
||||
fields:
|
||||
access:
|
||||
label: Access
|
||||
placeholder: Unkown
|
||||
types:
|
||||
access: General
|
||||
foot: Foot
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
],
|
||||
"type": "access",
|
||||
"label": "Access",
|
||||
"placeholder": "Unkown",
|
||||
"strings": {
|
||||
"types": {
|
||||
"access": "General",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"keys": ["access", "foot", "motor_vehicle", "bicycle", "horse"],
|
||||
"type": "access",
|
||||
"label": "Access",
|
||||
"placeholder": "Unkown",
|
||||
"strings": {
|
||||
"types": {
|
||||
"access": "General",
|
||||
|
||||
Vendored
+1
@@ -376,6 +376,7 @@
|
||||
"fields": {
|
||||
"access": {
|
||||
"label": "Access",
|
||||
"placeholder": "Unkown",
|
||||
"types": {
|
||||
"access": "General",
|
||||
"foot": "Foot",
|
||||
|
||||
@@ -28,6 +28,7 @@ iD.ui.preset.access = function(field, context) {
|
||||
.attr('class', 'col6 preset-input-access-wrap')
|
||||
.append('input')
|
||||
.attr('type', 'text')
|
||||
.attr('placeholder', field.placeholder())
|
||||
.attr('class', 'preset-input-access')
|
||||
.attr('id', function(d) { return 'preset-input-access-' + d; })
|
||||
.each(function(d) {
|
||||
|
||||
Reference in New Issue
Block a user