scinote-web/app/views/experiments/_form.html.erb

25 lines
892 B
Text
Raw Normal View History

2016-07-28 20:44:44 +08:00
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
2023-07-03 17:11:51 +08:00
<div class="sci-input-container">
<label><%= t('experiments.new.name') %></label>
<%= form.text_field :name,
autofocus: true,
2023-07-03 17:11:51 +08:00
class: 'sci-input-field',
placeholder: t('experiments.new.name_placeholder'),
id: 'experiment-name' %>
2016-07-28 20:44:44 +08:00
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
2023-07-03 17:11:51 +08:00
<div class="sci-input-container">
<label><%= t('experiments.new.description') %></label>
<%= form.smart_text_area :description,
id: 'experiment-description',
2023-07-03 17:11:51 +08:00
class: 'sci-input-field textarea h-48',
data: { 'atwho-edit' => '' } %>
2016-07-28 20:44:44 +08:00
</div>
</div>
</div>