app/views/phcscriptcdn/script/authors/_form.html.erb in phcscriptcdn-7.0.0 vs app/views/phcscriptcdn/script/authors/_form.html.erb in phcscriptcdn-7.0.1
- old
+ new
@@ -1,36 +1,36 @@
-<%= form_for(script_author) do |f| %>
-
- <!-- PHC-Notifi Render Validation -->
- <%= render 'phcnotifi/validations', :object => @script_author %>
- <!-- PHC-Notifi Render Validation -->
-
- <!-- Form Fields -->
- <div class="form-group field_with_error">
- <%= f.label :authorfirstname, "Author First Name" %>
- <%= f.text_field :authorfirstname, placeholder: "Author First Name", class: "form-control" %>
- </div>
- <div class="form-group field_with_error">
- <%= f.label :authorlastname, "Author Last Name" %>
- <%= f.text_field :authorlastname, placeholder: "Author Last Name", class: "form-control" %>
- </div>
- <div class="form-group field_with_error">
- <%= f.label :authorwebsite, "Author Website" %>
- <%= f.text_field :authorwebsite, placeholder: "Author Website", class: "form-control" %>
- </div>
- <div class="form-group field_with_error">
- <%= f.label :authorgithub, "Author Github Address" %>
- <%= f.text_field :authorgithub, placeholder: "Author Github Address", class: "form-control" %>
- </div>
- <div class="form-group field_with_error">
- <%= f.label :authortwitter, "Author Twitter Addresss" %>
- <%= f.text_field :authortwitter, placeholder: "Author Twitter Addresss", class: "form-control" %>
- </div>
- <!-- Form Fields -->
-
- <!-- Form Button -->
- <div class="actions">
- <%= f.submit class: "btn btn-primary" %>
- </div>
- <!-- Form Button -->
-
-<% end %>
+<%= form_for(script_author) do |f| %>
+
+ <!-- PHC-Notifi Render Validation -->
+ <%= render 'phcnotifi/validations', :object => @script_author %>
+ <!-- PHC-Notifi Render Validation -->
+
+ <!-- Form Fields -->
+ <div class="form-group field_with_error">
+ <%= f.label :authorfirstname, "Author First Name" %>
+ <%= f.text_field :authorfirstname, placeholder: "Author First Name", class: "form-control" %>
+ </div>
+ <div class="form-group field_with_error">
+ <%= f.label :authorlastname, "Author Last Name" %>
+ <%= f.text_field :authorlastname, placeholder: "Author Last Name", class: "form-control" %>
+ </div>
+ <div class="form-group field_with_error">
+ <%= f.label :authorwebsite, "Author Website" %>
+ <%= f.text_field :authorwebsite, placeholder: "Author Website", class: "form-control" %>
+ </div>
+ <div class="form-group field_with_error">
+ <%= f.label :authorgithub, "Author Github Address" %>
+ <%= f.text_field :authorgithub, placeholder: "Author Github Address", class: "form-control" %>
+ </div>
+ <div class="form-group field_with_error">
+ <%= f.label :authortwitter, "Author Twitter Addresss" %>
+ <%= f.text_field :authortwitter, placeholder: "Author Twitter Addresss", class: "form-control" %>
+ </div>
+ <!-- Form Fields -->
+
+ <!-- Form Button -->
+ <div class="actions">
+ <%= f.submit class: "btn btn-primary" %>
+ </div>
+ <!-- Form Button -->
+
+<% end %>