Commit cea975fa01ac991439df8ea70354d6bcb18bc7a4
Committed by
Arthur Esposte
1 parent
0b5bdb57
Exists in
master
and in
5 other branches
Makes fantasy name/acronym optional
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
views/mpog_software_plugin/create_institution.html.erb
| @@ -42,12 +42,12 @@ | @@ -42,12 +42,12 @@ | ||
| 42 | </div> | 42 | </div> |
| 43 | </span> | 43 | </span> |
| 44 | 44 | ||
| 45 | - <span class='required-field'> | 45 | + <span class='optional-field'> |
| 46 | <div class="formfield type-text"> | 46 | <div class="formfield type-text"> |
| 47 | <%= hidden_field_tag "acronym_translate", _("Acronym") %> | 47 | <%= hidden_field_tag "acronym_translate", _("Acronym") %> |
| 48 | <%= hidden_field_tag "fantasy_name_translate", _("Fantasy name") %> | 48 | <%= hidden_field_tag "fantasy_name_translate", _("Fantasy name") %> |
| 49 | <%= inst.label("acronym" ,_("Acronym"), :class=>"formlabel") %> | 49 | <%= inst.label("acronym" ,_("Acronym"), :class=>"formlabel") %> |
| 50 | - <%= required inst.text_field(:acronym) %> | 50 | + <%= inst.text_field(:acronym) %> |
| 51 | </div> | 51 | </div> |
| 52 | </span> | 52 | </span> |
| 53 | 53 | ||
| @@ -76,4 +76,4 @@ | @@ -76,4 +76,4 @@ | ||
| 76 | 76 | ||
| 77 | <% end %> | 77 | <% end %> |
| 78 | </div> | 78 | </div> |
| 79 | -<%= hidden_field_tag :loading_message, _("Creating institution") %> | ||
| 80 | \ No newline at end of file | 79 | \ No newline at end of file |
| 80 | +<%= hidden_field_tag :loading_message, _("Creating institution") %> |