add * to required fields
modified: make_post_sell/templates/content_new.j2 modified: make_post_sell/templates/product_new.j2
This commit is contained in:
parent
c9fb28777d
commit
e3976a784d
2 changed files with 21 additions and 7 deletions
|
|
@ -12,14 +12,21 @@
|
|||
|
||||
Creating a new content in the shop named "{{ request.shop.name }}".
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<form method="post" action="/c/new" onsubmit="this.querySelector('input[type=submit]').style.display = 'none'; return true;">
|
||||
|
||||
<input type="hidden" name="shop_id" value="{{ request.shop.id }}" />
|
||||
|
||||
<br/>
|
||||
|
||||
<span class="asterisk">*</span> required
|
||||
|
||||
<br/>
|
||||
<label for="title_input">Content Title</label>
|
||||
<br/>
|
||||
|
||||
<label for="title_input">Content Title <span class="asterisk">*</span></label>
|
||||
<input
|
||||
name = "title"
|
||||
type = "text"
|
||||
|
|
@ -32,7 +39,7 @@
|
|||
<br />
|
||||
<br />
|
||||
|
||||
<label for="description_input">Content Description</label>
|
||||
<label for="description_input">Content Description <span class="asterisk">*</span></label>
|
||||
<textarea
|
||||
name = "description"
|
||||
id = "description_input"
|
||||
|
|
|
|||
|
|
@ -12,14 +12,21 @@
|
|||
|
||||
Creating a new product in the shop named "{{ request.shop.name }}".
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
<form method="post" action="/p/new" onsubmit="this.querySelector('input[type=submit]').style.display = 'none'; return true;">
|
||||
|
||||
|
||||
<br/>
|
||||
|
||||
<span class="asterisk">*</span> required
|
||||
|
||||
<br/>
|
||||
|
||||
<input type="hidden" name="shop_id" value="{{ request.shop.id }}" />
|
||||
|
||||
<br/>
|
||||
<label for="title_input">Product Title</label>
|
||||
<label for="title_input">Product Title <span class="asterisk">*</span></label>
|
||||
<input
|
||||
name = "title"
|
||||
type = "text"
|
||||
|
|
@ -32,7 +39,7 @@
|
|||
<br />
|
||||
<br />
|
||||
|
||||
<label for="description_input">Product Description</label>
|
||||
<label for="description_input">Product Description <span class="asterisk">*</span></label>
|
||||
<textarea
|
||||
name = "description"
|
||||
id = "description_input"
|
||||
|
|
@ -43,7 +50,7 @@
|
|||
<br />
|
||||
<br />
|
||||
|
||||
<label for="price_input">Product Price</label>
|
||||
<label for="price_input">Product Price <span class="asterisk">*</span></label>
|
||||
<input
|
||||
name = "price"
|
||||
type = "text"
|
||||
|
|
@ -63,7 +70,7 @@
|
|||
<br />
|
||||
<br />
|
||||
|
||||
<label>Product Type</label>
|
||||
<label>Product Type <span class="asterisk">*</span></label>
|
||||
<div class="radio-group">
|
||||
<input type="radio" id="digital" name="is_physical" value="false" {% if not is_physical %}checked{% endif %}>
|
||||
<label for="digital">Digital</label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue