mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
9 lines
No EOL
549 B
Text
9 lines
No EOL
549 B
Text
<% provide(:head_title, raw(t("my_modules.edit.head_title", project: @my_module.project.name, module: @my_module.name))) %>
|
|
<h2><%=t "my_modules.edit.title", module: @my_module.name %></h2>
|
|
|
|
<%= bootstrap_form_for @my_module, url: my_module_path do |f| %>
|
|
<%= f.text_field :name, label: t("my_modules.edit.name") %>
|
|
<%= f.text_area :description, style: "margin-top: 10px;" %>
|
|
<%= f.datetime_picker :due_date, label: t("my_modules.edit.due_date"), clear: true %>
|
|
<%= f.submit t("my_modules.edit.save"), style: "margin-top: 10px;" %>
|
|
<% end %> |