Browse Source

grains refactor mkX

master
jk 3 years ago
parent
commit
18c6087ac2
  1. 2
      resources/views/grains/edit.blade.php

2
resources/views/grains/edit.blade.php

@ -46,7 +46,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="alternative">Alternative(s)</label> <label for="alternative">Alternative(s)</label>
<inpu type="text" class="form-control" name="alternative" value="{{str_replace(' ,',',',str_replace('"',' ',str_replace(',',', ',str_replace('}', '', str_replace('{','',$grain->alternative)))))}}"/>
<input type="text" class="form-control" name="alternative" value="{{str_replace(' ,',',',str_replace('"',' ',str_replace(',',', ',str_replace('}', '', str_replace('{','',$grain->alternative)))))}}"/>
</div> </div>
<button type="submit" class="btn btn-primary">Update</button> <button type="submit" class="btn btn-primary">Update</button>
</form> </form>

Loading…
Cancel
Save