Skip to content

Commit f87cc48

Browse files
committed
Hide fields in case of minimal registration
1 parent 5be1a90 commit f87cc48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/common/form_elements/_personal_data.mobile.erb

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
#%>
1919

20+
<% if Configuration.get('registration_minimal') != "true" %>
2021
<li data-role="fieldcontain">
2122
<%= form.input :given_name, :disabled => !owner.new_record? %>
2223
</li>
@@ -50,6 +51,7 @@
5051
<li data-role="fieldcontain">
5152
<%= form.input :state, :collection => countries, :prompt => false %>
5253
</li>
54+
<% end %>
5355

5456
<li data-role="fieldcontain">
5557
<%= form.input :email %>

0 commit comments

Comments
 (0)