File "my-smm-service.ejs"

Full Path: /home/wiomgjqe/neduas.store/v1/user-profiles/my-smm-service.ejs
File size: 5.76 KB
MIME-type: text/html
Charset: utf-8

<!doctype html>
<html>
<head>
  <%- include("./partials/head") %>
    <title>SMM Services</title>
  </head>
  <body>
    <%- include("./partials/alert") %>
    <!-- Contact 1 - Bootstrap Brain Component
            Credits: https://bootstrapbrain.com/component/bootstrap-5-simple-contact-form-example/#tab-css
        -->
    <section class="py-3 py-md-5">
      <div class="container">
        <div class="row justify-content-md-center">
          <div class="col-12 col-md-10 col-lg-8 col-xl-7 col-xxl-6">
            <h2 class="mb-2 display-5 text-center">Edit SMM Service</h2>
            <p class="text-secondary mb-3 text-center">
              Edit the SMM service details from the form below
            </p>
            <hr class="w-50 mx-auto mb-5 mb-xl-9 border-dark-subtle" />
        </div>
      </div>
    </div>

    <div class="container">
      <div class="row justify-content-lg-center">
        <div class="col-12 col-lg-9">
          <div class="bg-white border rounded shadow-sm overflow-hidden">
            <form id="add-form">
              <div class="row gy-4 gy-xl-5 p-4 p-xl-5">


                        <div class="col-12">
                          <label for="name" class="form-label"
                            >Service Name <span class="text-danger">*</span></label
                          >
                          <input
                          type="text"
                          class="form-control"
                          id="name"
                          name="name"
                          placeholder="My Service"
                          value="<%= myService?.name %>"
                          required
                          />
                      </div>
                     
                      <div class="col-12">
                        <label for="logo" class="form-label"
                          >Service Logo <span class="text-danger">*</span></label
                        >
                        <input
                        type="url"
                        class="form-control"
                        id="logo"
                        name="logo"
                        placeholder="Service Logo Url"
                        value="<%= myService?.logo %>"
                        required
                        />
                    </div>

                    <div class="col-12">
                      <label for="code" class="form-label"
                        >Service Code <span class="text-danger">*</span></label
                      >
                      <input
                      type="text"
                      class="form-control"
                      id="code"
                      name="code"
                      placeholder="Serv1"
                      value="<%= myService?.code %>"
                      required
                      />
                  </div>

                  <div class="col-12">
                    <label for="description" class="form-label"
                      >Service  Description <span class="text-danger">*</span></label
                    >
                    <textarea
                      class="form-control"
                      id="description"
                      name="description"
                      placeholder="My Small Service Description..."
                      rows="2"
                      required
                      ><%= myService?.description %></textarea>
                  </div>

                  <div class="col-12">
                    <label for="price" class="form-label"
                      >Service Price <span class="text-danger"
                        >*</span
                      ></label
                    >
                    <input
                    type="number"
                    class="form-control"
                    id="price"
                    name="price"
                    placeholder="10"
                    step="0.01"
                    value="<%= myService?.price %>"
                    required
                    />
                </div>
                
                  <div class="col-12">
                    <label for="min_quantity" class="form-label"
                      >Service Minimum Order Quantity <span class="text-danger"
                        >*</span
                      ></label
                    >
                    <input
                    type="number"
                    class="form-control"
                    id="min_quantity"
                    name="min_quantity"
                    placeholder="10"
                    value="<%= myService?.min_quantity %>"
                    required
                    />
                </div>
                
                  <div class="col-12">
                    <label for="max_quantity" class="form-label"
                      >Service Maximum Order Quantity <span class="text-danger"
                        >*</span
                      ></label
                    >
                    <input
                    type="number"
                    class="form-control"
                    id="max_quantity"
                    name="max_quantity"
                    placeholder="100"
                    value="<%= myService?.max_quantity %>"
                    required
                    />
                </div>
                
                <div class="col-12">
                  <div class="d-grid">
                    <button
                      class="btn btn-primary btn-md"
                      type="submit"
                      id="submit-btn"
                      >
                      Submit
                    </button>
                  </div>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </section>
  <%- include("./partials/script") %>
  </body>
</html>