Merge pull request #4133 from HDinger/fix/22616-missing-asterix-when-creating-custom-field

[22616] Missing asterix when creating custom field
pull/4137/head
Oliver Günther 9 years ago
commit 7cacff3bda
  1. 4
      app/assets/stylesheets/content/_forms.lsg
  2. 3
      app/views/custom_fields/_form.html.erb
  3. 2
      app/views/projects/form/attributes/_name.html.erb

@ -110,8 +110,8 @@
Write anything you like.
</div>
</div>
<div class="form--field">
<label class="form--label -required">Email:</label>
<div class="form--field -required">
<label class="form--label">Email:</label>
<div class="form--field-container">
<div class="form--text-field-container">
<input type="email" class="form--text-field" placeholder="a valid email">

@ -31,7 +31,8 @@ See doc/COPYRIGHT.rdoc for more details.
<section class="form--section" id="custom_field_form">
<div class="form--field -required" id="custom_field_name_attributes">
<%= f.text_field :name,
multi_locale: true %>
multi_locale: true,
required: true %>
</div>
<div class="form--field">
<%= f.select :field_format,

@ -28,5 +28,5 @@ See doc/COPYRIGHT.rdoc for more details.
++#%>
<div class="form--field -required">
<%= form.text_field :name %>
<%= form.text_field :name, required: true %>
</div>

Loading…
Cancel
Save