<% experiment_form = nil %>
<%= form_for experiment, method: :patch, format: :html do |f| %>
<% experiment_form = f %>
<%= f.hidden_field :archived, value: false %>
<% end %>
<%= experiment.name %>
<% if experiment.workflowimg? %>
<%= image_tag(
experiment.workflowimg.expiring_url(
Constants::URL_SHORT_EXPIRE_TIME
),
class: 'img-responsive center-block') %>
<% end %>
<%=t "projects.experiment_archive.archived_on" %>
">
<%=l experiment.archived_on, format: :full_date %>
<%=t "projects.experiment_archive.created_on" %>
">
<%=l experiment.created_at, format: :full_date %>
<%=t "projects.experiment_archive.last_modified_on" %>
">
<%=l experiment.updated_at, format: :full_date %>
<%= auto_link(
smart_annotation_parser(
simple_format(experiment.description)
),
link: :urls,
sanitize: false,
html: { target: '_blank' }
).html_safe %>