Commit 3abb57d4a2058b7341b0d7d5149d2cf519be36e1

Authored by Gabriela Navarro
Committed by Gust
1 parent 6a82598b

Makes fantasy name/acronym optional

Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
views/mpog_software_plugin/create_institution.html.erb
... ... @@ -42,12 +42,12 @@
42 42 </div>
43 43 </span>
44 44  
45   - <span class='required-field'>
  45 + <span class='optional-field'>
46 46 <div class="formfield type-text">
47 47 <%= hidden_field_tag "acronym_translate", _("Acronym") %>
48 48 <%= hidden_field_tag "fantasy_name_translate", _("Fantasy name") %>
49 49 <%= inst.label("acronym" ,_("Acronym"), :class=>"formlabel") %>
50   - <%= required inst.text_field(:acronym) %>
  50 + <%= inst.text_field(:acronym) %>
51 51 </div>
52 52 </span>
53 53  
... ... @@ -76,4 +76,4 @@
76 76  
77 77 <% end %>
78 78 </div>
79   -<%= hidden_field_tag :loading_message, _("Creating institution") %>
80 79 \ No newline at end of file
  80 +<%= hidden_field_tag :loading_message, _("Creating institution") %>
... ...