Skip to content
Snippets Groups Projects
Commit 1a8f4cf9 authored by Kapil Patel's avatar Kapil Patel
Browse files

remove button show also for first location

parent 326a6c60
No related tags found
1 merge request!142Draft: Remove button show also for first location
Pipeline #6738 failed
...@@ -250,4 +250,8 @@ form .field-wrapper label[required="required"]::after { ...@@ -250,4 +250,8 @@ form .field-wrapper label[required="required"]::after {
#documents .table { #documents .table {
margin-bottom: 50px; margin-bottom: 50px;
}
.location-section .listing li .remove{
display: block !important;
} }
\ No newline at end of file
<div class="location-section">
<%= f.input key,
as: :controlled_vocabulary,
placeholder: 'Search for a location',
input_html: {
class: 'form-control',
data: { 'autocomplete-url' => "/authorities/search/geonames",
'autocomplete' => key }
},
### Required for the ControlledVocabulary javascript:
wrapper_html: { data: { 'autocomplete-url' => "/authorities/search/geonames",
'field-name' => key }},
required: f.object.required?(key) %>
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment