New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organ #8
base: main
Are you sure you want to change the base?
Conversation
@qinmingyuan 重点关注 create 后的跳转链接,其他修改都是格式调整。 |
我觉得组织不应该轻易删除,而是调整为离开组织比较稳妥。
|
|
现在的代码逻辑是:组织内的任何一个人都有权限删除该组织,肯定有问题啊 |
|
||
def organ_params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code style 不要调整,不改代码风格,这个是协作的一个原则。我是故意采用格式:
permit(
:name,
:logo
)
<%= ef.text_field :name, required: true %> | ||
<%= ef.file_field :logo %> | ||
<%= ef.text_field :name, required: true, class: 'input is-small', label: { class: 'label is-small' } %> | ||
<%= ef.file_field :logo, class: 'input is-small', label: { class: 'label is-small' } %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果是统一设置,没必要在这里改样式。
No description provided.