Orgs: added labels to organization form
This commit is contained in:
@@ -2,44 +2,51 @@
|
|||||||
form#item_form(onsubmit="return editOrganization()")
|
form#item_form(onsubmit="return editOrganization()")
|
||||||
| {% if can_edit %}
|
| {% if can_edit %}
|
||||||
.input-group
|
.input-group
|
||||||
input.item-name.input-transparent(
|
label(for='org-name-field') Name
|
||||||
|
input.item-name.input-transparent#org-name-field(
|
||||||
name="name",
|
name="name",
|
||||||
type="text",
|
type="text",
|
||||||
placeholder="Organization's name",
|
placeholder="Organization's name",
|
||||||
value="{{ organization.name | hide_none }}")
|
value="{{ organization.name | hide_none }}")
|
||||||
.input-group
|
.input-group
|
||||||
textarea.item-description.input-transparent(
|
label(for='org-description-field') Description
|
||||||
|
textarea.item-description.input-transparent#org-description-field(
|
||||||
name="description",
|
name="description",
|
||||||
type="text",
|
type="text",
|
||||||
rows=1,
|
rows=1,
|
||||||
placeholder="Organization's description") {{ organization.description | hide_none }}
|
placeholder="Organization's description") {{ organization.description | hide_none }}
|
||||||
.input-group
|
.input-group
|
||||||
input.item-website.input-transparent(
|
label(for='org-website-field') Website
|
||||||
|
input.item-website.input-transparent#org-website-field(
|
||||||
name="website",
|
name="website",
|
||||||
type="text",
|
type="text",
|
||||||
placeholder="Organization's website",
|
placeholder="Organization's website",
|
||||||
value="{{ organization.website | hide_none }}")
|
value="{{ organization.website | hide_none }}")
|
||||||
.input-group
|
.input-group
|
||||||
input.item-location.input-transparent(
|
label(for='org-location-field') Location
|
||||||
|
input.item-location.input-transparent#org-location-field(
|
||||||
name="location",
|
name="location",
|
||||||
type="text",
|
type="text",
|
||||||
placeholder="Organization's location",
|
placeholder="Organization's location",
|
||||||
value="{{ organization.location | hide_none }}")
|
value="{{ organization.location | hide_none }}")
|
||||||
| {% if can_super_edit %}
|
| {% if can_super_edit %}
|
||||||
.input-group
|
.input-group.text-danger
|
||||||
input.item-location.input-transparent.text-danger(
|
label(for='org-seat-count-field') Seat count
|
||||||
|
input.item-location.input-transparent#org-seat-count-field(
|
||||||
name="seat_count",
|
name="seat_count",
|
||||||
type="text",
|
type="text",
|
||||||
placeholder="Seat count",
|
placeholder="Seat count",
|
||||||
value="{{ organization.seat_count | hide_none }}")
|
value="{{ organization.seat_count | hide_none }}")
|
||||||
.input-group
|
.input-group.text-danger
|
||||||
input.item-location.input-transparent.text-danger(
|
label(for='org-roles-field') Roles
|
||||||
|
input.item-location.input-transparent#org-roles-field(
|
||||||
name="org_roles",
|
name="org_roles",
|
||||||
type="text",
|
type="text",
|
||||||
placeholder="Organization roles",
|
placeholder="Organization roles",
|
||||||
value="{{ organization.org_roles | hide_none | sort | join(' ') }}")
|
value="{{ organization.org_roles | hide_none | sort | join(' ') }}")
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
.input-group
|
.input-group
|
||||||
|
label.item-admin-user Org admin
|
||||||
input#admin-select.form-control(
|
input#admin-select.form-control(
|
||||||
name='admin_user',
|
name='admin_user',
|
||||||
type='text',
|
type='text',
|
||||||
|
Reference in New Issue
Block a user