Skip to content

Commit

Permalink
=Fixes an HTML5 code error in the template
Browse files Browse the repository at this point in the history
  • Loading branch information
malhayek2014 committed Jan 30, 2017
1 parent d10acd7 commit 3ed308e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ A clean code generator for Laravel framework that will save you time! This aweso

## Installation

To download this package into your laravel project, use the command-line to execute the following command
To download this package into your laravel project, use the command-line to execute the following command

```
composer require crestapps/laravel-code-generator --dev
```
Expand Down
2 changes: 1 addition & 1 deletion src/Templates/default-collective/index.blade.stub
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div class="btn-group btn-group-xs pull-right" role="group">

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

</div>
Expand Down
4 changes: 2 additions & 2 deletions src/Templates/default/index.blade.stub
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

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

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

0 comments on commit 3ed308e

Please sign in to comment.