Skip to content

Commit 3ed308e

Browse files
committed
=Fixes an HTML5 code error in the template
1 parent d10acd7 commit 3ed308e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ A clean code generator for Laravel framework that will save you time! This aweso
2727

2828
## Installation
2929

30-
To download this package into your laravel project, use the command-line to execute the following command
30+
To download this package into your laravel project, use the command-line to execute the following command
31+
3132
```
3233
composer require crestapps/laravel-code-generator --dev
3334
```

src/Templates/default-collective/index.blade.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div class="btn-group btn-group-xs pull-right" role="group">
2626

2727
<a href="{{ route('{{createRouteName}}') }}" class="btn btn-primary" title="Add {{modelNameClass}}">
28-
<span class="glyphicon glyphicon-plus" aria-hidden="true" />
28+
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
2929
</a>
3030

3131
</div>

src/Templates/default/index.blade.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<div class="btn-group btn-group-xs pull-right" role="group">
2626
<a href="{{ route('{{createRouteName}}') }}" class="btn btn-primary" title="Add {{modelNameClass}}">
27-
<span class="glyphicon glyphicon-plus" aria-hidden="true" />
27+
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
2828
</a>
2929
</div>
3030

@@ -61,7 +61,7 @@
6161
<form method="POST" action="{!! route('{{destroyRouteName}}', ${{modelName}}->{{primaryKey}}) !!}" accept-charset="UTF-8" style="display: inline;" novalidate="novalidate">
6262
<input name="_method" value="DELETE" type="hidden">
6363
{{ csrf_field() }}
64-
<button type="submit" class="btn btn-danger btn-xs" title="Delete {{modelNameClass}}" onclick="return confirm(&quot;Confirm delete?&quot;)" id="sometest">
64+
<button type="submit" class="btn btn-danger btn-xs" title="Delete {{modelNameClass}}" onclick="return confirm(&quot;Confirm delete?&quot;)">
6565
<span class="glyphicon glyphicon-trash" aria-hidden="true" title="Delete {{modelNameClass}}"></span>
6666
</button>
6767
</form>

0 commit comments

Comments
 (0)