Laravel代码问题


Laravel code Issue

有人帮我把html代码转换成laravel

HTML code look like
<td><button class="btn red" type="button"><i class="icon-remove"></i> Delete</button></td>
i am try following but it is not work properly
{{HTML::linkRoute('users.edit','Edit',$value->id,['class'=>'btn green'])}}

如果您想要一个按钮,请使用以下按钮;

{{ Form::button('Edit', array('type' => 'button', 'class' => 'btn green', 'onclick' => 'window.location="' . route('users.edit', $value->id) . '"')); }}

这可能适用于

{{ link_to_route('users.edit', 'Edit',$value->id,array('class' => 'btn green')) }}