scinote-web/app/views/projects/_new.html.erb

9 lines
587 B
Plaintext
Raw Normal View History

2016-02-12 23:52:43 +08:00
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<%= form.text_field :name, label: t("projects.index.modal_new_project.name"), autofocus: true, placeholder: t("projects.index.modal_new_project.name_placeholder") %>
2016-10-12 18:56:44 +08:00
<%= hidden_field :project, :organization_id, value: current_organization.id %>
2016-02-12 23:52:43 +08:00
</div>
</div>
2016-07-28 20:44:44 +08:00
<%= form.enum_btn_group :visibility, label: t("projects.index.modal_new_project.visibility"), btn_names: { hidden: t("projects.index.modal_new_project.visibility_hidden"), visible: t("projects.index.modal_new_project.visibility_visible") } %>