Permalink
Browse files

Fixed url in scaffolding and regenerated pages.

  • Loading branch information...
1 parent 8f5a9f6 commit f78caddf118dbf37a4a79df80eec2ed2568aa01d @chriscantu committed Feb 14, 2012
@@ -32,7 +32,7 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="${createLink(uri: '/')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><a class="home" href="${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
<li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
@@ -32,7 +32,7 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="${createLink(uri: '/')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><a class="home" href="${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
<li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
@@ -34,7 +34,7 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="${createLink(uri: '/')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><a class="home" href="${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
<li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
@@ -33,7 +33,7 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="${createLink(uri: '/')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><a class="home" href="${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
<li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
@@ -32,8 +32,8 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="${createLink(uri: '/')}"><i class="icon-list"></i><g:message code="default.list.label" args="[entityName]"/></a></li>
- <li><g:link class="create" action="create"><i class="icon-file"></i><g:message code="default.new.label" args="[entityName]" /></g:link></li>
+ <li><a class="home" href="${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
</div>
@@ -32,8 +32,8 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="${createLink(uri: '/')}"><i class="icon-list"></i><g:message code="default.list.label" args="[entityName]"/></a></li>
- <li><g:link class="create" action="create"><i class="icon-file"></i><g:message code="default.new.label" args="[entityName]" /></g:link></li>
+ <li><a class="home" href="${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
</div>
@@ -56,9 +56,11 @@
<g:render template="form"/>
- <fieldset class="buttons">
- <g:actionSubmit class="btn-primary" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" />
- <g:actionSubmit class="btn-danger" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" formnovalidate="" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
+ <fieldset class="buttons">
+ <button type="submit" class="btn btn-primary" name="_action_update"><i class="icon-pencil icon-white"></i> ${message(code: 'default.button.update.label', default: 'Update')}</button>
+
+
+ <button type="submit" class="btn btn-danger" name="_action_delete" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');"><i class="icon-trash icon-white"></i> ${message(code: 'default.button.delete.label', default: 'Delete')}</button>
</fieldset>
</g:form>
</div>
@@ -34,8 +34,8 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="${createLink(uri: '/')}"><i class="icon-list"></i><g:message code="default.list.label" args="[entityName]"/></a></li>
- <li><g:link class="create" action="create"><i class="icon-file"></i><g:message code="default.new.label" args="[entityName]" /></g:link></li>
+ <li><a class="home" href="${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
</div>
@@ -33,8 +33,8 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="${createLink(uri: '/')}"><i class="icon-list"></i><g:message code="default.list.label" args="[entityName]"/></a></li>
- <li><g:link class="create" action="create"><i class="icon-file"></i><g:message code="default.new.label" args="[entityName]" /></g:link></li>
+ <li><a class="home" href="${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
</div>
@@ -46,7 +46,7 @@
<g:if test="${userInstance?.firstName}">
<div id="firstName-label" class="property-label span3"><g:message code="user.firstName.label" default="First Name" />:</div>
- <div class="property-value span5" aria-labelledby="firstName-label"><g:fieldValue bean="${userInstance}" field="firstName"/></div>
+ <div class="property-value span4" aria-labelledby="firstName-label"><g:fieldValue bean="${userInstance}" field="firstName"/></div>
</g:if>
</div>
@@ -55,7 +55,7 @@
<g:if test="${userInstance?.lastName}">
<div id="lastName-label" class="property-label span3"><g:message code="user.lastName.label" default="Last Name" />:</div>
- <div class="property-value span5" aria-labelledby="lastName-label"><g:fieldValue bean="${userInstance}" field="lastName"/></div>
+ <div class="property-value span4" aria-labelledby="lastName-label"><g:fieldValue bean="${userInstance}" field="lastName"/></div>
</g:if>
</div>
@@ -64,16 +64,16 @@
<g:if test="${userInstance?.title}">
<div id="title-label" class="property-label span3"><g:message code="user.title.label" default="Title" />:</div>
- <div class="property-value span5" aria-labelledby="title-label"><g:fieldValue bean="${userInstance}" field="title"/></div>
+ <div class="property-value span4" aria-labelledby="title-label"><g:fieldValue bean="${userInstance}" field="title"/></div>
</g:if>
</div>
<g:form>
<p>
<g:hiddenField name="id" value="${userInstance?.id}" />
- <g:link action="edit" id="${userInstance?.id}" class="btn btn-primary top-align"><g:message code="default.button.edit.label" default="Edit" /></g:link>
- <g:actionSubmit class="btn-danger" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
+ <g:link action="edit" id="${userInstance?.id}" class="btn btn-primary top-align"><i class="icon-pencil icon-white"> </i> <g:message code="default.button.edit.label" default="Edit" /></g:link>
+ <button type="submit" class="btn btn-danger" name="_action_delete" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');"><i class="icon-trash icon-white"></i> ${message(code: 'default.button.delete.label', default: 'Delete')}</button>
</p>
</g:form>
</div>
@@ -32,7 +32,7 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="\${createLink(uri: '/')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><a class="home" href="\${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
<li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
@@ -32,7 +32,7 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="\${createLink(uri: '/')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><a class="home" href="\${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
<li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
@@ -34,7 +34,7 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="\${createLink(uri: '/')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><a class="home" href="\${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
<li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
@@ -33,7 +33,7 @@
<div class="well" role="navigation">
<ul class="nav nav-list">
<li class="nav-header">Options</li>
- <li><a class="home" href="\${createLink(uri: '/')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><a class="home" href="\${createLink(action: 'list')}"><i class="icon-list"></i> <g:message code="default.list.label" args="[entityName]"/></a></li>
<li><g:link class="create" action="create"><i class="icon-file"></i> <g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>

0 comments on commit f78cadd

Please sign in to comment.