Commit 864d60999912ff2ee0641c80286937934988c960
1 parent
da928894
Exists in
master
and in
29 other branches
ActionItem70: adding missing files
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@528 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
3 changed files
with
15 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,10 @@ |
1 | +<%= error_messages_for 'category' %> | |
2 | + | |
3 | +<% labelled_form_for 'category' do |f| %> | |
4 | + <% if @category.new_record? && @category.parent %> | |
5 | + <%= hidden_field_tag('parent_id', @category.parent.id) %> | |
6 | + <% end %> | |
7 | + | |
8 | + <%= f.text_field 'name' %> | |
9 | + <%= submit_tag _('Save') %> | |
10 | +<% end %> | ... | ... |