Commit c7c9720ff8959a2db23e8d843b47a9758b83bf50
1 parent
55ae4eb8
Exists in
master
and in
5 other branches
Add field "link to repository" on software creation.
Signed-off-by: Gustavo Jaruga <darksshades@gmail.com> Signed-off-by: Parley Martins <parley@outlook.com>
Showing
2 changed files
with
11 additions
and
2 deletions
Show diff stats
views/mpog_software_plugin_myprofile/_main_software_editor_extras.html.erb
views/mpog_software_plugin_myprofile/new_software.html.erb
... | ... | @@ -53,6 +53,15 @@ |
53 | 53 | |
54 | 54 | </div> |
55 | 55 | <% end %> |
56 | + | |
57 | + | |
58 | + <%= fields_for @software_info do |swf| %> | |
59 | + <div class="formfieldline formfield type-text"> | |
60 | + <%= swf.label "repository_url", _("Link to Repository: ") , :class => "formlabel"%> | |
61 | + <%= swf.text_field :repository_link %> | |
62 | + </div> | |
63 | + <% end %> | |
64 | + | |
56 | 65 | <%= template_options(:communities, 'community')%> |
57 | 66 | |
58 | 67 | <%= hidden_field_tag('back_to', @back_to) %> |
... | ... | @@ -64,4 +73,4 @@ |
64 | 73 | |
65 | 74 | <% end %> |
66 | 75 | |
67 | -</div> | |
68 | 76 | \ No newline at end of file |
77 | +</div> | ... | ... |