{"action":"created","issue":{"url":"https://api.github.com/repos/yupe/yupe/issues/1915","labels_url":"https://api.github.com/repos/yupe/yupe/issues/1915/labels{/name}","comments_url":"https://api.github.com/repos/yupe/yupe/issues/1915/comments","events_url":"https://api.github.com/repos/yupe/yupe/issues/1915/events","html_url":"https://github.com/yupe/yupe/issues/1915","id":63007618,"number":1915,"title":"Формы в модуле User","user":{"login":"EvanLoik","id":11557017,"avatar_url":"https://avatars.githubusercontent.com/u/11557017?v=3","gravatar_id":"","url":"https://api.github.com/users/EvanLoik","html_url":"https://github.com/EvanLoik","followers_url":"https://api.github.com/users/EvanLoik/followers","following_url":"https://api.github.com/users/EvanLoik/following{/other_user}","gists_url":"https://api.github.com/users/EvanLoik/gists{/gist_id}","starred_url":"https://api.github.com/users/EvanLoik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvanLoik/subscriptions","organizations_url":"https://api.github.com/users/EvanLoik/orgs","repos_url":"https://api.github.com/users/EvanLoik/repos","events_url":"https://api.github.com/users/EvanLoik/events{/privacy}","received_events_url":"https://api.github.com/users/EvanLoik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yupe/yupe/labels/%D0%98%D0%B4%D0%B5%D1%8F/%D0%9F%D1%80%D0%B5%D0%B4%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5","name":"Идея/Предложение","color":"dfa102"},{"url":"https://api.github.com/repos/yupe/yupe/labels/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9F%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D0%B8","name":"Модуль:Пользователи","color":"d7e199"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/yupe/yupe/milestones/19","html_url":"https://github.com/yupe/yupe/milestones/0.9.5","labels_url":"https://api.github.com/repos/yupe/yupe/milestones/19/labels","id":999926,"number":19,"title":"0.9.5","description":"","creator":{"login":"yupe","id":668145,"avatar_url":"https://avatars.githubusercontent.com/u/668145?v=3","gravatar_id":"","url":"https://api.github.com/users/yupe","html_url":"https://github.com/yupe","followers_url":"https://api.github.com/users/yupe/followers","following_url":"https://api.github.com/users/yupe/following{/other_user}","gists_url":"https://api.github.com/users/yupe/gists{/gist_id}","starred_url":"https://api.github.com/users/yupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yupe/subscriptions","organizations_url":"https://api.github.com/users/yupe/orgs","repos_url":"https://api.github.com/users/yupe/repos","events_url":"https://api.github.com/users/yupe/events{/privacy}","received_events_url":"https://api.github.com/users/yupe/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":1,"state":"open","created_at":"2015-02-28T12:21:26Z","updated_at":"2015-03-20T17:22:32Z","due_on":"2015-03-30T21:00:00Z","closed_at":null},"comments":10,"created_at":"2015-03-19T14:48:22Z","updated_at":"2015-03-21T13:36:36Z","closed_at":null,"body":"Было бы неплохо сделать так, чтобы формы (например RegistrationForm) наследовались от модели User. Сейчас они наследуются от CFormModel и из-за этого приходится во всех формах прописывать attributeLabels() и необходимые переменные. Это крайне неудобно, если возникает необходимость модифицировать модуль User."},"comment":{"url":"https://api.github.com/repos/yupe/yupe/issues/comments/84336072","html_url":"https://github.com/yupe/yupe/issues/1915#issuecomment-84336072","issue_url":"https://api.github.com/repos/yupe/yupe/issues/1915","id":84336072,"user":{"login":"yupe","id":668145,"avatar_url":"https://avatars.githubusercontent.com/u/668145?v=3","gravatar_id":"","url":"https://api.github.com/users/yupe","html_url":"https://github.com/yupe","followers_url":"https://api.github.com/users/yupe/followers","following_url":"https://api.github.com/users/yupe/following{/other_user}","gists_url":"https://api.github.com/users/yupe/gists{/gist_id}","starred_url":"https://api.github.com/users/yupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yupe/subscriptions","organizations_url":"https://api.github.com/users/yupe/orgs","repos_url":"https://api.github.com/users/yupe/repos","events_url":"https://api.github.com/users/yupe/events{/privacy}","received_events_url":"https://api.github.com/users/yupe/received_events","type":"User","site_admin":false},"created_at":"2015-03-21T13:36:36Z","updated_at":"2015-03-21T13:36:36Z","body":" @EvanLoik валидация при сохранении данных должна быть в любом случае. Форма регистрации может отличаться от стандартной (вынесли \"пол\" в регистрацию и сделали свою форму, например). Валидация у форм предназначена чтобы всего лишь показать (или нет) сообщения об ошибках на уровне представления. Это не отменяет необходимости валидации данных при сохранении данных."}}