<% if @editing %>
<%= label_tag @name, @label %> <%= date_field_tag @name, @value, placeholder: @placeholder, class: 'sci-input-field' %>
<% else %> <%= @value %> <% end %>