Change default enter behavior on forms to not be delete

This commit is contained in:
Dane Everitt 2018-02-25 16:21:50 -06:00
parent aa08498d51
commit fa997b9e0d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 17 additions and 11 deletions

View file

@ -86,8 +86,8 @@
</div>
<div class="box-footer">
{!! csrf_field() !!}
<button class="btn btn-sm btn-danger pull-left muted muted-hover" data-action="delete" name="_method" value="DELETE" type="submit"><i class="fa fa-trash-o"></i></button>
<button class="btn btn-sm btn-primary pull-right" name="_method" value="PATCH" type="submit">Save</button>
<button class="btn btn-sm btn-danger pull-left muted muted-hover" data-action="delete" name="_method" value="DELETE" type="submit"><i class="fa fa-trash-o"></i></button>
</div>
</form>
</div>