-
So I'm using turbo streams for re-rendering forms when there are errors.
where I replace the form
`edit.turbo_stream.erb`
```erb
```
where form
`_form.html.erb`
```erb
...
…
uvera updated
4 months ago
-
# 路由
比如说创建了一个 Article 的 model ,会按如下建立 crud 的路由:
- `GET /articles`: 列表查询
- `GET /articles/new`: 创建页
- `GET /articles/:id`: 详情页
- `GET /articles/:id/edit`: 编辑页
分割线
- `POST /articles`: 创建
…
-
Currently the gem allows to insert custom markup using a `form_group` helper with this syntax
``` erb
```
Text inputs (and also other "native" inputs) won't accept a block, i.e.
…
-
Hello and thank you for this project. It's great and has saved me a lot of time on common and repeated configurations.
One configuration I think is missing and it's very important and common nowadays…
-
WeixinRailsMiddleware::WeixinController里面的check_weixin_legality 方法
检查后发现
check_result={ :plain => "xxxx", :status => "yyy"}
render check_result # 这个会返回 missTemplate 的错误
当我…
-
- [ ] Add previews for each component
- [ ] In engine, add previews path to `config.view_component.preview_paths` config (https://viewcomponent.org/guide/previews.html)
- [ ] Extra: have a light fak…
-
### Steps to reproduce
Try to refresh a token sending the scope field with strings separated by `+`. The users of the API just tried to use the same format they used on issuing a token (`authorizatio…
-
In a rails app, adding `provider :browser_id` to the bottom of my initialiser block causes all strategy failures to be detected as browser_id failures and causes a redirect loop at /auth/failure.
**S…
mcoms updated
11 years ago
-
Attempting to add a subcollection to a collection results in error messages. Error messages occur if you try to add an existing collection to another as a subcollection and/or if you try to "create ne…
-
[This issue is for discussion and to record information that may be useful to future maintainers.]
This PR adds a new helper bootstrap_form_with to support the Rails 5.1 form_with helper (Issue #32…