{{model.name}} {{#link-to 'edit_brainstorming' model.user_slug model.slug}} {{/link-to}}

{{#if anyIdeas}} {{#each ideas as |idea|}} {{/each}} {{else}} {{/if}} {{#if newIdeaMode}} {{/if}}
{{t 'general.vote'}} {{t 'general.author'}} {{t 'activerecord.models.brainstorming_idea_short' }} {{t 'arguments.index.title' }}
{{brainstorming-idea-vote ideaId=idea.id count=idea.votes_count vote=idea.user_id setDirtyAction="setDirty" reloadAction='reload'}} {{#link-to 'user_brainstormings' idea.user_slug 1}}{{idea.user_name}}{{/link-to}} {{brainstorming-idea-cell selectedId=ideaId ideaId=idea.id ideaName=idea.name ideaText=idea.text leaveEditIdeaModeAction='leaveEditIdeaMode' setDirtyAction='setDirty' reloadAction='reload'}} {{t 'general.edit'}} | {{t 'general.remove'}} {{#each idea.arguments as |argument|}} {{brainstorming-idea-argument argument=argument.argument selectedId=argumentId id=argument.argument.id ideaId=idea.id topicName=argument.argument.topic_name value=argument.argument.value editAction='editArgument' leaveComposeArgumentModeAction='leaveComposeArgumentMode' setDirtyAction='setDirty' reloadAction='reload'}} {{/each}} {{brainstorming-idea-argument selectedNewArgumentIdeaId=newArgumentIdeaId ideaId=idea.id newAction="newArgument" leaveComposeArgumentModeAction='leaveComposeArgumentMode' setDirtyAction='setDirty' reloadAction='reload'}}
{{t 'brainstorming_ideas.index.empty_collection'}}
{{brainstorming-idea-cell userSlug=userSlug slug=slug reloadAction='reload' leaveNewIdeaModeAction='leaveNewIdeaMode' setDirtyAction='setDirty'}}
{{t 'brainstorming_ideas.new.title' }}