<% selected_date = '' %> <% selected_date = setDate if defined?(setDate) %> <% selected_date = use_current %> <% if label %> <% end %>