-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Hash style * Quote style * Brace padding * Line spacing * DSL Parenthesis (don't need them for select tag)
- Loading branch information
1 parent
6a107f5
commit d052082
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
<%= render :partial => 'intro', :locals => {:incoming_message => @incoming_message } %> | ||
<%= render :partial => 'actions', :locals => { :incoming_message => @incoming_message } %> | ||
<%= render partial: 'intro', locals: { incoming_message: @incoming_message } %> | ||
<%= render partial: 'actions', locals: { incoming_message: @incoming_message } %> | ||
|
||
<fieldset class="form-horizontal"> | ||
<legend>Prominence</legend> | ||
<%= form_tag admin_incoming_message_path(@incoming_message), :method => 'put', :class => "form form-inline" do %> | ||
|
||
<%= form_tag admin_incoming_message_path(@incoming_message), method: 'put', class: 'form form-inline' do %> | ||
<div class="control-group"> | ||
<label class="control-label" for="incoming_message_prominence"> Prominence</label> | ||
<label class="control-label" for="incoming_message_prominence">Prominence</label> | ||
|
||
<div class="controls"> | ||
<%= select('incoming_message', "prominence", IncomingMessage.prominence_states) %> | ||
<%= select 'incoming_message', 'prominence', IncomingMessage.prominence_states %> | ||
</div> | ||
</div> | ||
|
||
<div class="control-group"> | ||
<label class="control-label" for="incoming_message_prominence_reason">Reason for prominence</label> | ||
|
||
<div class="controls"> | ||
<%= text_area "incoming_message", "prominence_reason", :rows => 5, :class => "span6" %> | ||
<%= text_area 'incoming_message', 'prominence_reason', rows: 5, class: 'span6' %> | ||
</div> | ||
</div> | ||
|
||
<div class="form-actions" > | ||
<%= submit_tag 'Save', :class => "btn" %> | ||
<%= submit_tag 'Save', class: 'btn' %> | ||
</div> | ||
|
||
<% end %> | ||
</fieldset> |