Skip to content

Commit

Permalink
Merge pull request #648 from open-data-rescue/correct-station-metadat…
Browse files Browse the repository at this point in the history
…a-form

fix meta-data form for station
  • Loading branch information
balen authored Mar 5, 2023
2 parents 7d266e6 + 1cef7fc commit 50893c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
9 changes: 1 addition & 8 deletions app/views/pages/_metadata_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</div>
<div class="row voffset20">
<div class="form-actions col-sm-12">
<%= button_tag submit_btn_text.html_safe, class: "btn btn-primary pull-right", type:"submit" %>
<%= button_tag t('page-metadata.form.labels.update-station-btn').html_safe, class: "btn btn-primary pull-right", type:"submit" %>
</div>
</div>
<% end %>
Expand Down Expand Up @@ -84,11 +84,4 @@
useStrict: true,
});
});

// $('input.page-date').each(function (idx) {
// console.log($(this));
// if (!($(this).data("DateTimePicker") === void 0)) {
// $(this).data("DateTimePicker").viewDate($(this).val());
// }
// });
</script>
3 changes: 1 addition & 2 deletions app/views/transcriptions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ul>
</div>
</div>

<div class="row">
<div class="col-md-12">
<h3><%= t('page-metadata.headers.main') %></h3>
Expand All @@ -38,4 +38,3 @@
</div>
</div>
<% end %>

1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ en:
skip-page-btn: "Skip and try a new page"
submit-btn: "Start Transcribing"
update-btn: "Update metadata"
update-station-btn: "Update Station metadata"
placeholders:
num-observations: "Select the number of rows"
headers:
Expand Down
1 change: 1 addition & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ fr:
skip-page-btn: "Ignorez cette page et essayez une autre"
submit-btn: "Commencer la transcription"
update-btn: "Mis à jour les métadonnées"
update-station-btn: "Mettre à jour les métadonnées de la station"
placeholders:
num-observations: "Sélectionnez le nombre de lignes"
headers:
Expand Down

0 comments on commit 50893c4

Please sign in to comment.