Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oscar Enrique Gonzalez Escurra
th-app-java
Commits
8f9f6db6
Commit
8f9f6db6
authored
2 years ago
by
Oscar Gonzalez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
creacion form beneficio
parent
9a4f2b61
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
curriculumsearch/src/main/webapp/jsp/beneficio-form.jsp
+43
-0
No files found.
curriculumsearch/src/main/webapp/jsp/beneficio-form.jsp
0 → 100644
View file @
8f9f6db6
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://kwonnam.pe.kr/jsp/template-inheritance" prefix="layout"%>
<layout:extends name="layouts/base.jsp">
<layout:put block="cssDeclaracion" type="APPEND"></layout:put>
<layout:put block="contents" type="REPLACE">
<div class="card justify-content-center mx-auto mt-2" style="width: 20rem;">
<div class="card-header">
<h5>Beneficio</h5>
</div>
<form:form
action="/beneficios/${beneficio.id == null ? 'agregar' : 'modificar/'.concat(beneficio.id)}"
method="post"
modelAttribute="beneficio"
class="d-flex flex-column"
>
<div class="card-body">
<form:label class="form-label visually-hidden" path="titulo"
>Beneficio
</form:label>
<form:input type="text" path="titulo" class="form-control ${ mismoNombre ? 'is-invalid' : ''}" required="true" placeholder="Titulo de beneficio"/>
<div id="validationServerUsernameFeedback" class="invalid-feedback">
Este beneficio ya existe
</div>
<form:label class="form-label visually-hidden" path="descripcion"
>Descripción
</form:label>
<form:input type="text" path="descripcion" class="form-control" required="true" placeholder="Descripción de beneficio"/>
</div>
<div class="card-footer d-flex flex-column">
<div class="mt-2 align-self-end">
<input type="submit" value='${beneficio.id == null ? "Agregar" : "Modificar"}' class="btn btn-primary" />
</div>
</div>
</form:form>
</div>
</layout:put>
</layout:extends>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment