mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-28 12:58:48 +01:00
IDs of objects are not copied, but created as new so there could be no conflict with existing objects.
17 lines
705 B
Text
17 lines
705 B
Text
<div id="display_box">
|
|
<div id="feeds">
|
|
<div id="feedlegend">
|
|
<p><b>Beware</b>: all your current data will be destroyed before importing the YAML file, so if you have access to the database, we strongly reccoment backing up the database right now in case that anything goes wrong.</p>
|
|
<p>Paste the contents of the YAML file you exported into the text box below:</p>
|
|
</div>
|
|
<p>
|
|
<% form_for :import, @import, :url => {:controller => 'data', :action => 'yaml_import'} do |f| %>
|
|
<%= f.text_area :yaml %><br />
|
|
<input type="submit" value="Import data">
|
|
<% end %>
|
|
</p>
|
|
</div><!-- End of feeds -->
|
|
</div><!-- End of display_box -->
|
|
|
|
<div id="input_box">
|
|
</div><!-- End of input box -->
|