mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-05 23:17:33 +08:00
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
<% provide(:head_title, t("users.settings.teams.head_title")) %>
|
|
|
|
<%= render partial: "users/settings/navigation.html.erb" %>
|
|
<div class="tab-content">
|
|
<div class="tab-pane tab-pane-settings" role="tabpanel"></div>
|
|
<div class="tab-pane tab-pane-settings active" role="tabpanel">
|
|
|
|
<%= render partial: "users/settings/teams/breadcrumbs.html.erb" %>
|
|
|
|
<%= bootstrap_form_for @new_team, url: create_team_path do |f| %>
|
|
<div class="form-group" style="max-width: 500px;">
|
|
<%= f.text_field :name,
|
|
label: t('users.settings.teams.new.name_label'),
|
|
autofocus: true,
|
|
placeholder: t('users.settings.teams.new.name_placeholder') %>
|
|
<small>
|
|
<%=t 'users.settings.teams.new.name_sublabel' %>
|
|
</small>
|
|
</div>
|
|
|
|
<div class="form-group" style="max-width: 500px;">
|
|
<%= f.text_area :description, label: t('users.settings.teams.new.description_label') %>
|
|
<small>
|
|
<%=t 'users.settings.teams.new.description_sublabel' %>
|
|
</small>
|
|
</div>
|
|
|
|
<%= link_to t('general.cancel'), teams_path, class: 'btn btn-default' %>
|
|
<%= f.submit t('users.settings.teams.new.create'), class: 'btn btn-primary' %>
|
|
|
|
<% end %>
|
|
</div>
|
|
</div>
|