update: add required
This commit is contained in:
parent
7e819938da
commit
da10ca4550
@ -8,8 +8,8 @@ solid-notifications.notLoggedIn(
|
||||
)
|
||||
|
||||
//- Templates for notifications from circles and from other users
|
||||
include views/circle/page-circle-notifications.pug
|
||||
include views/user/page-user-notifications.pug
|
||||
include views/notifications/message-circle.pug
|
||||
include views/notifications/message-private.pug
|
||||
|
||||
include templates/hubl-user-avatar.pug
|
||||
|
||||
|
@ -13,6 +13,9 @@ div.content-box__info.flex
|
||||
data-src=`${endpoints.circles || endpoints.post.circles}`
|
||||
|
||||
fields='status, name, description'
|
||||
required-status
|
||||
required-name
|
||||
required-description
|
||||
loader-id='loader-circles-create'
|
||||
|
||||
class-status='form-label is-light is-full-width color'
|
||||
|
@ -24,6 +24,10 @@ div.content-box__info.flex
|
||||
data-src=`${endpoints.projects || endpoints.post.projects}`
|
||||
|
||||
fields='status, line-1(customer.name, name), line-2(captain)'
|
||||
required-status
|
||||
required-customer.name
|
||||
required-name
|
||||
required-captain
|
||||
loader-id='loader-projects-create'
|
||||
|
||||
label-status='Statut du cercle*'
|
||||
|
@ -13,6 +13,10 @@ div.content-box__info.flex
|
||||
data-src=`${endpoints.users || endpoints.post.users}`
|
||||
|
||||
fields='line-1(first_name, last_name), line-2(username, email), line-3(password)'
|
||||
required-first_name
|
||||
required-last_name
|
||||
required-username
|
||||
required-email
|
||||
loader-id='loader-users-create'
|
||||
|
||||
class-first_name='form-label is-light is-half-width input-text-like'
|
||||
|
@ -20,6 +20,9 @@ div.content-box__info.flex
|
||||
bind-resources=''
|
||||
|
||||
fields='line-1(first_name, last_name), line-2(email)'
|
||||
required-first_name
|
||||
required-last_name
|
||||
required-email
|
||||
loader-id='loader-users-edit'
|
||||
|
||||
class-first_name='form-label is-light is-half-width input-text-like'
|
||||
|
@ -26,6 +26,10 @@ div.content-box__info
|
||||
bind-resources
|
||||
|
||||
fields='status, line-1(name, owner), description'
|
||||
required-status
|
||||
required-name
|
||||
required-owner
|
||||
required-description
|
||||
range-owner=`${endpoints.users || endpoints.get.users}`
|
||||
|
||||
label-status='Statut du cercle'
|
||||
|
@ -1,26 +0,0 @@
|
||||
.content-box.with-padding.with-form
|
||||
h1 Post a new job offer
|
||||
|
||||
solid-form(
|
||||
data-src=`${endpoints.joboffers || endpoints.post.joboffers}`
|
||||
range-skills=`${endpoints.skills || endpoints.get.skills}`
|
||||
|
||||
fields='title, description, skills, closingDate'
|
||||
|
||||
class-title='field form-label is-light is-expanded'
|
||||
label-title='Title*'
|
||||
|
||||
class-description='field form-label is-light is-expanded'
|
||||
label-description='Description*'
|
||||
widget-description='solid-form-textarea-label'
|
||||
|
||||
class-skills='form-label is-dark select-skills'
|
||||
label-skills='The required skills for this mission:*'
|
||||
multiple-skills='solid-form-multipleselect-autocompletion-label'
|
||||
|
||||
class-closingDate='form-label is-dark'
|
||||
label-closingDate='Publication end date:*'
|
||||
widget-closingDate='solid-form-date'
|
||||
|
||||
next='job-offers'
|
||||
)
|
@ -1,26 +0,0 @@
|
||||
.content-box.with-padding.with-form
|
||||
h1 Edit your job offer
|
||||
|
||||
solid-form(
|
||||
bind-resources
|
||||
range-skills=`${endpoints.skills || endpoints.get.skills}`
|
||||
|
||||
fields='title, description, skills, closingDate'
|
||||
|
||||
class-title='field form-label is-light is-expanded'
|
||||
label-title='Title*'
|
||||
|
||||
class-description='field form-label is-light is-expanded'
|
||||
label-description='Description*'
|
||||
widget-description='solid-form-textarea-label'
|
||||
|
||||
class-skills='form-label is-dark select-skills'
|
||||
label-skills='The required skills for this mission:*'
|
||||
multiple-skills='solid-form-multipleselect-autocompletion-label'
|
||||
|
||||
class-closingDate='form-label is-dark'
|
||||
label-closingDate='Publication end date:*'
|
||||
widget-closingDate='solid-form-date'
|
||||
|
||||
next='job-offers'
|
||||
)
|
@ -26,6 +26,8 @@ div.content-box__info
|
||||
bind-resources
|
||||
|
||||
fields='line-1(customer.name, name)'
|
||||
required-customer.name
|
||||
required-name
|
||||
|
||||
|
||||
label-name='Nom du projet*'
|
||||
|
Loading…
Reference in New Issue
Block a user