include ../mixins
.root

	.new_flex_zero
		+nav("PfarrInfoSystem", "dropdown_menu")
		
		.container-fluid
			h1 #{pentrytype_pretty} #{clone_or_move_pretty_verb2}
				.small &raquo#{pentryname}&laquo
					.small(style="white-space: nowrap; font-size: 80%;") am #{date.weekday_short}, #{date.day}. #{date.month} #{date.year}</span>

		.container-fluid
			
			p Auf welches Datum soll #{clone_or_move_pretty_verb} werden?
			
			form(method="POST", action="/pentry/#{date.date}/#{pentrytype}/#{uuid}/#{clone_or_move}", role="form", id="form-clonemove")
				input#pcal_pentry_clone_move_new_date(type="hidden", value="#{date.date}")
				
				button(class="btn btn-success btn-sm", type="submit")
					span(class="glyphicon glyphicon-ok", aria-hidden="true")
					span 
					span #{clone_or_move_pretty_noun}
					
			.alert.alert-danger#pcal_pentry_clone_move_alert(style="display: none;")
				a(class="close", onclick="$('#pcal_pentry_clone_move_alert').hide();") &times;
				strong Fehler!
				span 
				span Es kann nicht auf den ursprünglichen Tag #{clone_or_move_pretty_verb} werden!
			
			//- http://eternicode.github.io/bootstrap-datepicker/
			

					
	.new_flex_one#pcal_pentry_clone_move_scroll_parent(style="margin-top: 15px;")
		.container-fluid
			#pcal_pentry_clone_move_datepicker.cell_element(data-date="#{date.date}", style="vertical-align: top;")
			.cell_element.give_margin_left#pcal_pentry_clone_move_dayinfo(style="width: 100%;")
							
