updateuserprofile.component.html 2.92 KB
<div class="row">
  <div class="well">
    <div class="row">
      <div class="col-sm-12">
        <h5 class="text-center text-success"><strong>**To update your profile fill all the text fields carefully.</strong></h5>
        <div class="panel-body">
          <!-- form -->
          <form class="form-horizontal" novalidate (ngSubmit)="onSubmit(userFrm)" [formGroup]="userFrm">
            <div class="form-group">
              <label for="inputEmail3" class="col-sm-4 control-label">First Name <span class="red">*</span> :</label>
              <div class="col-sm-7">
                <input type="text" class="form-control" id="inputEmail3">
              </div>
            </div>
            <div class="form-group">
              <label for="inputPassword3" class="col-sm-4 control-label">Last Name <span class="red">*</span> :</label>
              <div class="col-sm-7">
                <input type="text" class="form-control" id="inputPassword3"  >
              </div>
            </div>
            <div class="form-group">
              <label for="inputPassword3" class="col-sm-4 control-label">Email Id <span class="red">*</span> :</label>
              <div class="col-sm-7">
                <input type="text" class="form-control" id="inputPassword3"  >
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-offset-4 col-sm-7 mar-top17">
                <button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#mymodal"><i class="fa fa-check"></i> Update</button>
                <!--cancel-button-->
                <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" id="mymodal">
                  <div class="modal-dialog modal-sm" role="document">
                    <div class="modal-content">
                      <div class="modal-header annotation-modal-header ui-draggable-handle">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                        <h4 class="modal-title" id="">Alert</h4>
                      </div>
                      <div class="modal-body">
                        <h5>User profile has been updated successfully.</h5>
                      </div>
                      <div class="modal-footer">
                        <div class="row">
                          <div class="col-sm-12"><button class="btn btn-primary btn-sm">Ok</button></div>
                        </div>
                      </div>

                    </div><!-- /.modal-content -->
                  </div><!-- /.modal-dialog -->
                </div><!-- /.modal -->
                <!--cancel-button-->
                <button type="submit" class="btn btn-primary btn-sm"><i class="fa fa-close"></i> Cancel</button>
              </div>

            </div>
          </form>
          <!-- form -->
        </div>
      </div>
    </div>
  </div>
</div>