Skip to content

Commit fb7c3e0

Browse files
Replace description input
1 parent 046ea1d commit fb7c3e0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/client/javascripts/geospatial-map.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ function createFeatureHTML(feature, index, mapId) {
102102
<div class="govuk-summary-card__title-wrapper">
103103
<h2 class="govuk-summary-card__title">
104104
Feature ${index + 1}
105-
<input class="govuk-input govuk-!-width-two-thirds" type="text" id="description_${index}"
106-
value="${feature.properties.description}" data-id="${feature.id}">
107105
</h2>
108106
<ul class="govuk-summary-card__actions">
109107
${changeAction()}
@@ -113,8 +111,8 @@ function createFeatureHTML(feature, index, mapId) {
113111
<div class="govuk-summary-card__content">
114112
<div class="govuk-form-group">
115113
<label class="govuk-label govuk-visually-hidden" for="description_${index}">Label</label>
116-
<input class="govuk-input govuk-!-width-two-thirds govuk-visually-hidden" type="text" id="description_${index}"
117-
value="${feature.properties.description}" data-id="${feature.id}">
114+
<input class="govuk-input govuk-!-width-two-thirds" type="text" id="description_${index}"
115+
value="${feature.properties.description}" data-id="${feature.id}">
118116
</div>
119117
<details class="govuk-details govuk-!-margin-bottom-0 govuk-!-margin-top-3">
120118
<summary class="govuk-details__summary">

0 commit comments

Comments
 (0)