Extract format_error and permission_set_badge_class functions into MvWeb.RoleLive.Helpers module to eliminate code duplication between Index and Show LiveViews. |
||
|---|---|---|
| .. | ||
| form.ex | ||
| helpers.ex | ||
| index.ex | ||
| index.html.heex | ||
| show.ex | ||
Extract format_error and permission_set_badge_class functions into MvWeb.RoleLive.Helpers module to eliminate code duplication between Index and Show LiveViews. |
||
|---|---|---|
| .. | ||
| form.ex | ||
| helpers.ex | ||
| index.ex | ||
| index.html.heex | ||
| show.ex | ||